toHumanizedName method

String toHumanizedName({
  1. String? locale,
})

Returns a human-readable value of this enumeration value.

Implementation

String toHumanizedName({String? locale}) =>
    SymbolName(toString().split('.').last).toHumanizedName(locale: locale);