FUIBannerMessageListModel
public struct FUIBannerMessageListModel : Identifiable, Equatable
List Model for Banner Message List
-
Declaration
Swift
public static func == (lhs: FUIBannerMessageListModel, rhs: FUIBannerMessageListModel) -> Bool -
the identifier for the category
Declaration
Swift
public var id: UUID -
customized category, like “Errors”, “Warnings”, “Information”, etc
Declaration
Swift
public let category: String -
the list under the category
Declaration
Swift
public var items: [FUIBannerMessageItemModel] -
Public initializer for BannerMessageListModel
Declaration
Swift
public init(id: UUID = UUID(), category: String, items: [FUIBannerMessageItemModel])Parameters
idthe identifier for the category
categorycategory name
itemsthe list under the category