toJsonString method

String toJsonString()

Converts this contents object to a JSON string.

Implementation

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