toJsonString method

String toJsonString()

Serializes to JSON string.

Implementation

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