AnnouncementBannerConfiguration class
Announcement banner configuration.
Constructors
- AnnouncementBannerConfiguration({String? hashId, bool? isDismissible, bool? isEnabled, String? message, AnnouncementBannerConfigurationVisibility? visibility})
-
AnnouncementBannerConfiguration.fromJson(Map<
String, Object?> json) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashId → String?
-
Hash of the banner data. The client detects updates by comparing hash IDs.
final
- isDismissible → bool
-
Flag indicating if the announcement banner can be dismissed by the user.
final
- isEnabled → bool
-
Flag indicating if the announcement banner is enabled or not.
final
- message → String?
-
The text on the announcement banner.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- visibility → AnnouncementBannerConfigurationVisibility?
-
Visibility of the announcement banner.
final
Methods
-
copyWith(
{String? hashId, bool? isDismissible, bool? isEnabled, String? message, AnnouncementBannerConfigurationVisibility? visibility}) → AnnouncementBannerConfiguration -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited