postData method
Implementation
Map<String, dynamic> postData() => {
"id": id,
"orderID": orderID,
"petID": petID,
"sellerID": sellerID,
"status": status,
"estimatedDeliveryDate": estimatedDeliveryDate,
"actualDeliveryDate": actualDeliveryDate,
"pickupOTP": pickupOTP,
"deliveryOTP": deliveryOTP,
"petConfirmationTimestamp": petConfirmationTimestamp,
"petReadyForPickupTimestamp": petReadyForPickupTimestamp,
"petCancellationRequestTimestamp": petCancellationRequestTimestamp,
"petCancellationTimestamp": petCancellationTimestamp,
"petReturnRequestedTimestamp": petReturnRequestedTimestamp,
"petReturnedTimestamp": petReturnedTimestamp,
"petReturnRequestCancelledTimestamp": petReturnRequestCancelledTimestamp,
"deliveryAgentID": deliveryAgentID,
"deliveryAgentAllocationTimestamp": deliveryAgentAllocationTimestamp,
"deliveryAgentAssignmentMethod": deliveryAgentAssignmentMethod,
"deliveryAgentAssignmentRule": deliveryAgentAssignmentRule,
"petPickupTimestamp": petPickupTimestamp,
"petDeliveryTimestamp": petDeliveryTimestamp,
"distancePerDelivery": distancePerDelivery,
};