SimpleStreamSubscription<T> constructor

SimpleStreamSubscription<T>(
  1. SimpleStream<T>? _stream,
  2. StreamCallbackFunc<T>? _callback,
  3. Function? _doneCallback,
  4. Function? _onError,
  5. bool? _cancelOnError,
  6. Zone? _contextZone,
)

Implementation

SimpleStreamSubscription(this._stream, this._callback, this._doneCallback,
    this._onError, this._cancelOnError, this._contextZone);