purchaseChangeEvents static method

Stream<PurchaseChangeEventData> purchaseChangeEvents()

Implementation

static Stream<PurchaseChangeEventData> purchaseChangeEvents() {
  var data = _purchaseChangeEvent
      .receiveBroadcastStream()
      .map((dynamic event) => _mapToPurchaseChangeEventData(event));

  return data;
}