toMap method
Implementation
Map<String, dynamic> toMap() => {
"location": location?.toMap(),
"order": order,
"address": address,
"entrance": entrance,
"door_phone": doorPhone,
"floor": floor,
"apartment": apartment,
"comment": comment,
"arrived_at": arrivedAt,
"handed_over_at": handedOverAt,
"eta": eta,
"skipped_at": skippedAt,
"products": products?.toMap(),
"client": client?.toMap(),
};