OrderService class

Implemented types

Constructors

OrderService(RestClient _restClient)

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

deleteBuyOrder(String shoppingOrderId) Future<bool>
override
deleteSellOrder(String orderId) Future<bool>
override
getBuyOrderById(String orderId) Future<BuyItem>
override
getBuyOrdersByUserId(String userId, String scrollId) Future<BuyItemData>
override
getCategory(String details) Future<String>
override
getOrderById(String id) Future<OrderList>
override
getOrdersByQuery(Map<String, dynamic> queries) Future<List<OrderList>?>
override
getProductImages(String details) Future<List<String>>
override
getSellOrderById(String orderId) Future<SellItem>
override
getSellOrdersByLocation(String location, String scrollId) Future<SellItemData?>
override
getSellOrdersByUserId(String userId) Future<List<SellItem>?>
override
getShoppingListById(String id) Future<ShoppingListConfiguration>
override
getShoppingListByQuery(Map<String, dynamic> queries) Future<List<ShoppingListConfiguration>?>
override
getTagLine(String details) Future<String>
override
getUnits(String details) Future<String>
override
isFood(String details) Future<bool>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
postBuyOrder(Map<String, dynamic> body) Future<BuyItem>
override
postSellOrder(Map<String, dynamic> body) Future<SellItem>
override
submitOrder(Map<String, dynamic> body) Future<OrderList>
override
submitShoppingList(Map<String, dynamic> body) Future<ShoppingListConfiguration>
override
toString() String
A string representation of this object.
inherited
updateBuyOrder(String orderId, Map<String, dynamic> body) Future<BuyItem>
override
updateOrders(String orderId, Map<String, dynamic> body) Future<OrderList>
override
updateSellOrder(String orderId, Map<String, dynamic> body) Future<SellItem>
override
updateShoppingList(String shoppingListId, Map<String, dynamic> body) Future<ShoppingListConfiguration>
override

Operators

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