toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.commerce != null) {
json[r'commerce'] = this.commerce;
} else {
json[r'commerce'] = null;
}
if (this.warehouse != null) {
json[r'warehouse'] = this.warehouse;
} else {
json[r'warehouse'] = null;
}
return json;
}