toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "pickup": pickup,
      "delivery": delivery,
      "autoAccept": autoAccept,
      "cancelFromUser": cancelFromUser,
      "cashOnDelivery": cashOnDelivery,
      "orderDeliveryCharge": orderDeliveryCharge,
      "orderPreparartionTime": orderPreparationTime,
      "orderDeliveryChargeType": orderDeliveryChargeType,
      "orderDeliveryChargeOnMinAmount": orderDeliveryChargeOnMinAmount
    };