toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (companyTypeId != null) {
    _json[r'CompanyTypeId'] = companyTypeId;
  } else {
    _json[r'CompanyTypeId'] = null;
  }
  if (companyType != null) {
    _json[r'CompanyType'] = companyType;
  } else {
    _json[r'CompanyType'] = null;
  }
  if (id != null) {
    _json[r'Id'] = id;
  } else {
    _json[r'Id'] = null;
  }
  if (applicationUser != null) {
    _json[r'ApplicationUser'] = applicationUser;
  } else {
    _json[r'ApplicationUser'] = null;
  }
  return _json;
}