toJsonString method

dynamic toJsonString()

转换对象至json

Implementation

toJsonString() {
  if (this!.isEmpty) {
    return '';
  }
  return json.encode(this);
}