names property

List<String> get names

A list of all the enum value names.

Implementation

List<String> get names => [
  for (final value in filtered)
    value.name,
];