close method

  1. @override
void close()
override

Closes the internal StreamController

Implementation

@override
void close() {
  if (_closed) return;
  _closed = true;
  _future.flatMap((_) => _controller?.close());
}