StreamClient constructor

StreamClient(
  1. String name,
  2. Future<void> _open(
    1. String name
    ),
  3. Future<void> _close(
    1. String name
    )
)

Implementation

StreamClient(this.name, this._open, this._close) {
  _internalListener = _internalStreamController.stream.listen((event) {
    _stream = event;
    _streamController.add(event);
  });
}