toJson method

Map<String, dynamic> toJson()

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;
  }
    json[r'company_handle'] = this.companyHandle;
    json[r'company_domain'] = this.companyDomain;
  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;
  }
  if (this.vendorSharePercent != null) {
    json[r'vendor_share_percent'] = this.vendorSharePercent;
  } else {
    json[r'vendor_share_percent'] = null;
  }
  if (this.partnershipType != null) {
    json[r'partnership_type'] = this.partnershipType;
  } else {
    json[r'partnership_type'] = null;
  }
  return json;
}