toJsonString method

String toJsonString()

Convert to JSON string

Implementation

String toJsonString() {
  return jsonEncode(toJson());
}