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
id
the identifier for the category
category
category name
items
the list under the category