toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.name != null) {
json[r'name'] = this.name;
}
if (this.description != null) {
json[r'description'] = this.description;
}
if (this.vATNumber != null) {
json[r'VATNumber'] = this.vATNumber;
}
if (this.road != null) {
json[r'road'] = this.road;
}
if (this.city != null) {
json[r'city'] = this.city;
}
if (this.region != null) {
json[r'region'] = this.region;
}
if (this.zipcode != null) {
json[r'zipcode'] = this.zipcode;
}
if (this.nation != null) {
json[r'nation'] = this.nation;
}
if (this.sdiCode != null) {
json[r'sdiCode'] = this.sdiCode;
}
if (this.fiscalCode != null) {
json[r'fiscalCode'] = this.fiscalCode;
}
return json;
}