activeProductsStream property

Stream<LinkFiveActiveProducts> activeProductsStream

Creates a new Stream and adds it to the stream controller

Return the just created stream

Implementation

Stream<LinkFiveActiveProducts> get activeProductsStream {
  var controller = StreamController<LinkFiveActiveProducts>();
  _streamControllerActiveProducts.add(controller);
  final activeProducts = latestLinkFiveActiveProducts;
  if (activeProducts != null) {
    LinkFiveLogger.d("push sub activeProducts data after create");
    controller.add(activeProducts);
  }
  return controller.stream;
}