decodePresenceStatus function

PresenceStatus? decodePresenceStatus(
  1. dynamic value
)

Implementation

PresenceStatus? decodePresenceStatus (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$PresenceStatusValueMap.containsKey(value)){
    return _$PresenceStatusValueMap[value];
  }

  return PresenceStatus.ProtectedInvalidEnumValue;
}