copyWith method

AnnouncementBannerConfigurationUpdate copyWith({
  1. bool? isDismissible,
  2. bool? isEnabled,
  3. String? message,
  4. String? visibility,
})

Implementation

AnnouncementBannerConfigurationUpdate copyWith(
    {bool? isDismissible,
    bool? isEnabled,
    String? message,
    String? visibility}) {
  return AnnouncementBannerConfigurationUpdate(
    isDismissible: isDismissible ?? this.isDismissible,
    isEnabled: isEnabled ?? this.isEnabled,
    message: message ?? this.message,
    visibility: visibility ?? this.visibility,
  );
}