toJson method

  1. @override
Map<String, Object?> toJson()
override

Copyright (c) 2019 Inomera Research. Author Burak Soykal

Implementation

@override
Map<String, Object?> toJson() {
  Map<String, Object?> map = super.toJson();
  map['er'] = _subTotal;
  map['es'] = _grandTotal;
  map['ec'] = _itemCount;
  map['em'] = _paymentMethod;
  return map;
}