toJson method

String toJson()

Converts this instance to a JSON-serializable value.

Implementation

String toJson() => name;