OrderInterface class abstract

Implementers

Constructors

OrderInterface()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

calculateOrder({required BuildContext context, required MapUserModel? sender, required MapUserModel? receiver, required Equipment? selectEquipment, required TypesModel? selectType, required DateTime? time, required ScheduleTimeType scheduleTimeType}) Future<Either<CalculateModel, dynamic>>
cancelOrder({required BuildContext context, required int orderId}) Future<Either>
changeOrderStage({required BuildContext context, required int index, required int oderId, required int orderById}) 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}) Future<Either<OrderModel, dynamic>>
getActiveOrder({required BuildContext context}) Future<Either<OrderModel?, dynamic>>
getEquipment({required BuildContext context}) Future<Either<EquipmentModel, dynamic>>
getNewOrderList({required BuildContext context, required int skip, String? displayId}) Future<Either<OrderListResponse, dynamic>>
getOrderById({required BuildContext context, required int id}) Future<Either<OrderModel, dynamic>>
getOrderList({required BuildContext context, required int skip, String? displayId, bool? isActive, int limit = 10}) Future<Either<OrderListResponse, dynamic>>
getRouting({required Point start, required BuildContext context, Point? middle, bool? second, required Point? end, bool? short, String? type}) Future<Either<DrawRouting, dynamic>>
getTypes({required BuildContext context}) Future<Either<List<TypesModel>, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited