toString method

  1. @override
String toString()
override

Returns this enum's name.

Implementation

@override
String toString() => name;