toJson method

String toJson()

Serializes this object to a JSON string.

Implementation

String toJson() => jsonEncode(toMap());