DeliveryRequest constructor
DeliveryRequest({
- required int id,
- required int user_id,
- required int payment_request_id,
- required int status_id,
- required int pickup_address_id,
- required int delivery_address_id,
- required String pickup_time,
- required double estimated_distance,
- required int actual_distance,
- required String estimated_duration,
- required int delivery_cost,
- required String recipient_name,
- required String recipient_mobile,
- required String item_type,
- required String? note,
- required String? instructions,
- required String created_at,
- required String updated_at,
- required String? deleted_at,
- required Status? status,
- required User user,
- required PickupAddress pickupAddress,
- required DeliveryAddress deliveryAddress,
- required PaymentRequest paymentRequest,
Implementation
DeliveryRequest({
required this.id,
required this.user_id,
required this.payment_request_id,
required this.status_id,
required this.pickup_address_id,
required this.delivery_address_id,
required this.pickup_time,
required this.estimated_distance,
required this.actual_distance,
required this.estimated_duration,
required this.delivery_cost,
required this.recipient_name,
required this.recipient_mobile,
required this.item_type,
required this.note,
required this.instructions,
required this.created_at,
required this.updated_at,
required this.deleted_at,
required this.status,
required this.user,
required this.pickupAddress,
required this.deliveryAddress,
required this.paymentRequest,
});