ordersSubscription property Null safety

Stream<Map<String, Order>> ordersSubscription

Subscribe to changes in the orders assigned to the worker

Implementation

static Stream<Map<String, Order>> get ordersSubscription {
  return _ordersChannel.receiveBroadcastStream().map((event) {
    return deserializeOrders(event);
  });
}