toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.agentOfRecord != null) {
    json[r'agentOfRecord'] = this.agentOfRecord;
  } else {
    json[r'agentOfRecord'] = null;
  }
  if (this.jurisdiction != null) {
    json[r'jurisdiction'] = this.jurisdiction;
  } else {
    json[r'jurisdiction'] = null;
  }
  if (this.structure != null) {
    json[r'structure'] = this.structure;
  } else {
    json[r'structure'] = null;
  }
  return json;
}