decodeMembershipOption function

MembershipOption? decodeMembershipOption(
  1. dynamic value
)

Implementation

MembershipOption? decodeMembershipOption (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$MembershipOptionValueMap.containsKey(value)){
    return _$MembershipOptionValueMap[value];
  }

  return MembershipOption.ProtectedInvalidEnumValue;
}