decodeBucketCategory function

BucketCategory? decodeBucketCategory(
  1. dynamic value
)

Implementation

BucketCategory? decodeBucketCategory (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$BucketCategoryValueMap.containsKey(value)){
    return _$BucketCategoryValueMap[value];
  }

  return BucketCategory.ProtectedInvalidEnumValue;
}