OrdersService class
Orders service
Constructors
- OrdersService.new({required ApiClient apiClient, FirebaseCrashlytics? crashlytics})
- Constructor for the OrdersService
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
-
deleteOrder(
int id) → Future< void> -
getOrder(
String purchaseNumber) → Future< Order> - Get order by purchase number
-
getOrderForPrinting(
String purchaseNumber) → Future< List< OrderForPrinting> > - Get order for printing
-
getOrders(
) → Future< List< Order> > - Get all orders
-
getQrCodeByOrder(
String purchaseNumber) → Future< List< QrCode> > - Get QR codes by purchase number
-
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