toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (type != null) {
    json[r'type'] = type;
  }
  if (status != null) {
    json[r'status'] = status;
  }
  if (partnerId != null) {
    json[r'partnerId'] = partnerId;
  }
  if (meToOtherRelationshipDescription != null) {
    json[r'meToOtherRelationshipDescription'] = meToOtherRelationshipDescription;
  }
  if (otherToMeRelationshipDescription != null) {
    json[r'otherToMeRelationshipDescription'] = otherToMeRelationshipDescription;
  }
  return json;
}