toJson method

String toJson()

Serializes the row to a JSON string.

Implementation

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