decodeGlobalAlertType function

GlobalAlertType? decodeGlobalAlertType(
  1. dynamic value
)

Implementation

GlobalAlertType? decodeGlobalAlertType (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$GlobalAlertTypeValueMap.containsKey(value)){
    return _$GlobalAlertTypeValueMap[value];
  }

  return GlobalAlertType.ProtectedInvalidEnumValue;
}