toJsonString method

String toJsonString()

Converts this instance to a JSON string.

Implementation

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