getCurrentActiveOrdersOfConsumer method

Future<List<OrderList>?> getCurrentActiveOrdersOfConsumer(
  1. String consumerId
)

Implementation

Future<List<OrderList>?> getCurrentActiveOrdersOfConsumer(
    String consumerId) async {
  return await this._orderService.getOrdersByQuery(
      {"consumerId": consumerId, "isActive": true.toString()});
}