SimpleStream<T>.broadcast constructor

SimpleStream<T>.broadcast({
  1. bool isSync = false,
  2. bool runInZone = false,
  3. SubscriptionChangeListener<T>? onListen,
  4. SubscriptionChangeListener<T>? onCancel,
})

Implementation

SimpleStream.broadcast(
    {bool isSync = false,
    bool runInZone = false,
    SubscriptionChangeListener<T>? onListen,
    SubscriptionChangeListener<T>? onCancel})
    : _isSync = isSync,
      _runInZone = runInZone,
      _onListen = onListen,
      _onCancel = onCancel;