toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'subjectIds'] = this.subjectIds;
    json[r'relationshipIds'] = this.relationshipIds;
  if (this.subject != null) {
    json[r'subject'] = this.subject;
  } else {
    json[r'subject'] = null;
  }
  if (this.description != null) {
    json[r'description'] = this.description;
  } else {
    json[r'description'] = null;
  }
  if (this.areaId != null) {
    json[r'areaId'] = this.areaId;
  } else {
    json[r'areaId'] = null;
  }
    json[r'attachments'] = this.attachments;
  return json;
}