toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.providerId != null) {
json[r'provider_id'] = this.providerId;
} else {
json[r'provider_id'] = null;
}
json[r'name'] = this.name;
if (this.parentCompany != null) {
json[r'parent_company'] = this.parentCompany;
} else {
json[r'parent_company'] = null;
}
if (this.marketingHomepageUrl != null) {
json[r'marketing_homepage_url'] = this.marketingHomepageUrl;
} else {
json[r'marketing_homepage_url'] = 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;
}