toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.name != null) {
json[r'name'] = this.name;
} else {
json[r'name'] = null;
}
if (this.monthlyCostUSD != null) {
json[r'monthlyCostUSD'] = this.monthlyCostUSD;
} else {
json[r'monthlyCostUSD'] = null;
}
if (this.yearlyCostUSD != null) {
json[r'yearlyCostUSD'] = this.yearlyCostUSD;
} else {
json[r'yearlyCostUSD'] = null;
}
if (this.maxMonthlyPageLoads != null) {
json[r'maxMonthlyPageLoads'] = this.maxMonthlyPageLoads;
} else {
json[r'maxMonthlyPageLoads'] = null;
}
if (this.maxMonthlyAPICredits != null) {
json[r'maxMonthlyAPICredits'] = this.maxMonthlyAPICredits;
} else {
json[r'maxMonthlyAPICredits'] = null;
}
if (this.maxMonthlyComments != null) {
json[r'maxMonthlyComments'] = this.maxMonthlyComments;
} else {
json[r'maxMonthlyComments'] = null;
}
if (this.maxConcurrentUsers != null) {
json[r'maxConcurrentUsers'] = this.maxConcurrentUsers;
} else {
json[r'maxConcurrentUsers'] = null;
}
if (this.maxTenantUsers != null) {
json[r'maxTenantUsers'] = this.maxTenantUsers;
} else {
json[r'maxTenantUsers'] = null;
}
if (this.maxSSOUsers != null) {
json[r'maxSSOUsers'] = this.maxSSOUsers;
} else {
json[r'maxSSOUsers'] = null;
}
if (this.maxModerators != null) {
json[r'maxModerators'] = this.maxModerators;
} else {
json[r'maxModerators'] = null;
}
if (this.maxDomains != null) {
json[r'maxDomains'] = this.maxDomains;
} else {
json[r'maxDomains'] = null;
}
if (this.maxCustomCollectionSize != null) {
json[r'maxCustomCollectionSize'] = this.maxCustomCollectionSize;
} else {
json[r'maxCustomCollectionSize'] = null;
}
if (this.hasDebranding != null) {
json[r'hasDebranding'] = this.hasDebranding;
} else {
json[r'hasDebranding'] = null;
}
if (this.hasWhiteLabeling != null) {
json[r'hasWhiteLabeling'] = this.hasWhiteLabeling;
} else {
json[r'hasWhiteLabeling'] = null;
}
if (this.forWhoText != null) {
json[r'forWhoText'] = this.forWhoText;
} else {
json[r'forWhoText'] = null;
}
json[r'featureTaglines'] = this.featureTaglines;
if (this.hasFlexPricing != null) {
json[r'hasFlexPricing'] = this.hasFlexPricing;
} else {
json[r'hasFlexPricing'] = null;
}
if (this.flexPageLoadCostCents != null) {
json[r'flexPageLoadCostCents'] = this.flexPageLoadCostCents;
} else {
json[r'flexPageLoadCostCents'] = null;
}
if (this.flexPageLoadUnit != null) {
json[r'flexPageLoadUnit'] = this.flexPageLoadUnit;
} else {
json[r'flexPageLoadUnit'] = null;
}
if (this.flexCommentCostCents != null) {
json[r'flexCommentCostCents'] = this.flexCommentCostCents;
} else {
json[r'flexCommentCostCents'] = null;
}
if (this.flexCommentUnit != null) {
json[r'flexCommentUnit'] = this.flexCommentUnit;
} else {
json[r'flexCommentUnit'] = null;
}
if (this.flexSSOUserCostCents != null) {
json[r'flexSSOUserCostCents'] = this.flexSSOUserCostCents;
} else {
json[r'flexSSOUserCostCents'] = null;
}
if (this.flexSSOUserUnit != null) {
json[r'flexSSOUserUnit'] = this.flexSSOUserUnit;
} else {
json[r'flexSSOUserUnit'] = null;
}
if (this.flexAPICreditCostCents != null) {
json[r'flexAPICreditCostCents'] = this.flexAPICreditCostCents;
} else {
json[r'flexAPICreditCostCents'] = null;
}
if (this.flexAPICreditUnit != null) {
json[r'flexAPICreditUnit'] = this.flexAPICreditUnit;
} else {
json[r'flexAPICreditUnit'] = null;
}
if (this.flexModeratorCostCents != null) {
json[r'flexModeratorCostCents'] = this.flexModeratorCostCents;
} else {
json[r'flexModeratorCostCents'] = null;
}
if (this.flexModeratorUnit != null) {
json[r'flexModeratorUnit'] = this.flexModeratorUnit;
} else {
json[r'flexModeratorUnit'] = null;
}
if (this.flexAdminCostCents != null) {
json[r'flexAdminCostCents'] = this.flexAdminCostCents;
} else {
json[r'flexAdminCostCents'] = null;
}
if (this.flexAdminUnit != null) {
json[r'flexAdminUnit'] = this.flexAdminUnit;
} else {
json[r'flexAdminUnit'] = null;
}
if (this.flexDomainCostCents != null) {
json[r'flexDomainCostCents'] = this.flexDomainCostCents;
} else {
json[r'flexDomainCostCents'] = null;
}
if (this.flexDomainUnit != null) {
json[r'flexDomainUnit'] = this.flexDomainUnit;
} else {
json[r'flexDomainUnit'] = null;
}
if (this.flexMinimumCostCents != null) {
json[r'flexMinimumCostCents'] = this.flexMinimumCostCents;
} else {
json[r'flexMinimumCostCents'] = null;
}
return json;
}