toJson method

Map<String, dynamic> toJson()

Implementation

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