toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = Map<String, dynamic>();
  data['id'] = this.id;
  data['createdBy'] = this.createdBy;
  data['updatedBy'] = this.updatedBy;
  data['createdDate'] = this.createdDate;
  data['updatedDate'] = this.updatedDate;
  data['entityId'] = this.entityId;
  data['currencyType'] = this.currencyType;
  data['unit'] = this.unit;
  data['denominations'] = this.denominations;
  data['type'] = this.type;
  data['amount'] = this.amount;
  data['adjusted'] = this.adjusted;
  data['defaultDenomination'] = this.defaultDenomination;
  data['matched'] = this.matched;
  return data;
}