toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.companyId != null) {
json[r'company_id'] = this.companyId;
} else {
json[r'company_id'] = null;
}
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;
}
json[r'company_handle'] = this.companyHandle;
json[r'company_domain'] = this.companyDomain;
json[r'credits_balance'] = this.creditsBalance;
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;
}
if (this.dateCreated != null) {
json[r'date_created'] = this.dateCreated;
} else {
json[r'date_created'] = null;
}
if (this.lastUpdated != null) {
json[r'last_updated'] = this.lastUpdated;
} else {
json[r'last_updated'] = null;
}
if (this.active != null) {
json[r'active'] = this.active;
} else {
json[r'active'] = null;
}
return json;
}