decodeComponentPrivacySetting function

ComponentPrivacySetting? decodeComponentPrivacySetting(
  1. dynamic value
)

Implementation

ComponentPrivacySetting? decodeComponentPrivacySetting (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$ComponentPrivacySettingValueMap.containsKey(value)){
    return _$ComponentPrivacySettingValueMap[value];
  }

  return ComponentPrivacySetting.ProtectedInvalidEnumValue;
}