toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'type'] = this.type;
    json[r'content'] = this.content;
  if (this.parentId != null) {
    json[r'parentId'] = this.parentId;
  } else {
    json[r'parentId'] = null;
  }
    json[r'position'] = this.position;
    json[r'properties'] = this.properties;
  return json;
}