toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'items'] = this.items;
  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;
  }
  if (this.maxTotal != null) {
    json[r'maxTotal'] = this.maxTotal;
  } else {
    json[r'maxTotal'] = null;
  }
  return json;
}