fromValue static method

Implementation

static AnnouncementBannerConfigurationVisibility fromValue(String value) =>
    values.firstWhere((e) => e.value == value,
        orElse: () => AnnouncementBannerConfigurationVisibility._(value));