decodeGlobalAlertLevel function

GlobalAlertLevel? decodeGlobalAlertLevel(
  1. dynamic value
)

Implementation

GlobalAlertLevel? decodeGlobalAlertLevel (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$GlobalAlertLevelValueMap.containsKey(value)){
    return _$GlobalAlertLevelValueMap[value];
  }

  return GlobalAlertLevel.ProtectedInvalidEnumValue;
}