onClosed property

Stream<WipDomain> onClosed
latefinal

Implementation

late final Stream<WipDomain> onClosed = StreamTransformer.fromHandlers(
    handleData: (event, EventSink<WipDomain> sink) {
  sink.add(this);
}).bind(connection.onClose);