toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.industryId != null) {
json[r'industry_id'] = this.industryId;
} else {
json[r'industry_id'] = null;
}
if (this.countryId != null) {
json[r'country_id'] = this.countryId;
} else {
json[r'country_id'] = null;
}
if (this.companyName != null) {
json[r'company_name'] = this.companyName;
} else {
json[r'company_name'] = null;
}
if (this.companyDescription != null) {
json[r'company_description'] = this.companyDescription;
} else {
json[r'company_description'] = null;
}
if (this.companyHandle != null) {
json[r'company_handle'] = this.companyHandle;
} else {
json[r'company_handle'] = null;
}
if (this.companyDomain != null) {
json[r'company_domain'] = this.companyDomain;
} else {
json[r'company_domain'] = null;
}
if (this.creditsBalance != null) {
json[r'credits_balance'] = this.creditsBalance;
} else {
json[r'credits_balance'] = null;
}
if (this.acceptedEula != null) {
json[r'accepted_eula'] = this.acceptedEula;
} else {
json[r'accepted_eula'] = null;
}
if (this.stripeAccountId != null) {
json[r'stripe_account_id'] = this.stripeAccountId;
} else {
json[r'stripe_account_id'] = null;
}
if (this.stripeAccountStatus != null) {
json[r'stripe_account_status'] = this.stripeAccountStatus;
} else {
json[r'stripe_account_status'] = null;
}
return json;
}