toJson method

String toJson()

Implementation

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