toString method

String toString ()
inherited

Returns this enum's name.

Implementation

String toString() => name;