productsStream property

Stream<LinkFiveProducts> productsStream

Creates a new Stream and adds it to the stream controller

Return the just created stream

Implementation

Stream<LinkFiveProducts> get productsStream {
  var controller = StreamController<LinkFiveProducts>();
  _streamControllerProducts.add(controller);
  final products = latestLinkFiveProducts;
  if (products != null) {
    LinkFiveLogger.d("push sub products data after create");
    controller.add(products);
  }
  return controller.stream;
}