toJsonString method

dynamic toJsonString()

Implementation

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