lookupBySimpleName method Null safety
- String simpleName
Given a simpleName
finds the corresponding enum value.
Implementation
E lookupBySimpleName(String simpleName) => _nameToValue[simpleName]!;
Given a simpleName
finds the corresponding enum value.
E lookupBySimpleName(String simpleName) => _nameToValue[simpleName]!;