name property

String get name

The short name of the value, without the enum class name.

Implementation

String get name => toString().split('.').last;