toJsonString method

String toJsonString()

转换为 JSON 字符串

Implementation

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