copyWith method
AnnouncementBannerConfiguration
copyWith({
- String? hashId,
- bool? isDismissible,
- bool? isEnabled,
- String? message,
- AnnouncementBannerConfigurationVisibility? visibility,
Implementation
AnnouncementBannerConfiguration copyWith(
{String? hashId,
bool? isDismissible,
bool? isEnabled,
String? message,
AnnouncementBannerConfigurationVisibility? visibility}) {
return AnnouncementBannerConfiguration(
hashId: hashId ?? this.hashId,
isDismissible: isDismissible ?? this.isDismissible,
isEnabled: isEnabled ?? this.isEnabled,
message: message ?? this.message,
visibility: visibility ?? this.visibility,
);
}