toMap method

Map<String, String> toMap()

Implementation

Map<String, String> toMap() {
  return {
    "commerceCode": this.commerceCode.toString(),
    "deviceId": this.deviceId.toString(),
    "mobile": this.mobile.toString(),
    "amount": this.amount.toString(),
    "order": this.order.toString(),
    "subject": this.subject.toString(),
    "method": this.method.toString(),
    "items": this.items.toString(),
    "contact": this.contact.toString()
  };
}