toJsonString method

String toJsonString()

Encodes to a JSON String.

Implementation

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