createOrder abstract method
Future<Either<OrderModel, dynamic> >
createOrder({
- required BuildContext context,
- required MapUserModel? sender,
- required MapUserModel? receiver,
- required Equipment? selectEquipment,
- required TypesModel? selectType,
- required DateTime? time,
- required ScheduleTimeType scheduleTimeType,
Implementation
Future<Either<OrderModel, dynamic>> createOrder({
required BuildContext context,
required MapUserModel? sender,
required MapUserModel? receiver,
required Equipment? selectEquipment,
required TypesModel? selectType,
required DateTime? time,
required ScheduleTimeType scheduleTimeType,
});