createOrder abstract method

Future<Either<OrderModel, dynamic>> createOrder({
  1. required BuildContext context,
  2. required MapUserModel? sender,
  3. required MapUserModel? receiver,
  4. required Equipment? selectEquipment,
  5. required TypesModel? selectType,
  6. required DateTime? time,
  7. 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,
});