toSimpleName method

String toSimpleName(
  1. E enumValue
)

Returns the simple name for enumValue.

Implementation

String toSimpleName(E enumValue) => _valueToName[enumValue]!;