lookupBySimpleName method

E lookupBySimpleName(
  1. String simpleName
)

Given a simpleName finds the corresponding enum value.

Implementation

E lookupBySimpleName(String simpleName) => _nameToValue[simpleName]!;