AnnouncementBannerConfiguration constructor

AnnouncementBannerConfiguration({
  1. String? hashId,
  2. bool? isDismissible,
  3. bool? isEnabled,
  4. String? message,
  5. AnnouncementBannerConfigurationVisibility? visibility,
})

Implementation

AnnouncementBannerConfiguration(
    {this.hashId,
    bool? isDismissible,
    bool? isEnabled,
    this.message,
    this.visibility})
    : isDismissible = isDismissible ?? false,
      isEnabled = isEnabled ?? false;