toJSON method

String toJSON()

Implementation

String toJSON() {
  return jsonEncode(asMap());
}