decodeBucketScope function

BucketScope? decodeBucketScope(
  1. dynamic value
)

Implementation

BucketScope? decodeBucketScope (dynamic value) {
  if(value == null) {
    return null;
  }
  if(_$BucketScopeValueMap.containsKey(value)){
    return _$BucketScopeValueMap[value];
  }

  return BucketScope.ProtectedInvalidEnumValue;
}