toString method

  1. @override
String toString()
override

Enum types as JSON string.

Implementation

@override
String toString() => jsonEncode(toJson());