toSimpleName method Null safety

String toSimpleName(
  1. E enumValue
)

Returns the simple name for enumValue.

Implementation

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