toJson method

String toJson()

Converts the enum value to a string.

Implementation

String toJson() => toString();