toMap method
Implementation
Map<String, dynamic> toMap() {
return <String, dynamic>{
'actual_distance': actual_distance,
'calculated_distance': calculated_distance,
'duration': duration,
'deliveryCost': deliveryCost.toMap(),
'total_delivery_cost': total_delivery_cost,
};
}