EnumName extension - dart:core library (original) (raw)

description

Access to the name of an enum value.

This method is declared as an extension method instead of an instance method in order to allow enum values to have the name name.

on

Annotations

Properties

nameString

Available on Enum, provided by the EnumName extension

The name of the enum value.

no setter