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