toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "mobileNumber": mobileNumber,
      "customerId": customerId,
      "clientToken": clientToken,
      "orderId": orderId,
      "transactionAmount": transactionAmount,
      "orderItems": orderItems.map((e) => e.toJson()).toList(),
      "email": email
    };