toJson method

String toJson()

Encodes this enum as a value suitable for JSON.

Implementation

String toJson() => _value;