toMap method

  1. @override
Map<String, dynamic> toMap()
override

Implementation

@override
Map<String, dynamic> toMap() {
  Map<String, dynamic> product = this.product.toMap();
  return <String, dynamic>{
    "product": product,
    'orderId': orderId,
    'purchaseToken': purchaseToken
  };
}