toJsonString method

String toJsonString()

转换为JSON字符串

Implementation

String toJsonString() {
  return json.encode(toJson());
}