stream property

Stream<List<int>> get stream

Implementation

Stream<List<int>> get stream {
  if (_shutdown) {
    throw StateError(
      'SharedInputStream is shut down (this usually means a previous TUI '
      'closed stdin for process exit).',
    );
  }
  _controller ??= StreamController<List<int>>.broadcast(
    onListen: _ensureStarted,
  );
  return _controller!.stream;
}