onCancel abstract method

FutureOr onCancel(
  1. EventSink<R> sink
)

Fires when a subscriber cancels.

Implementation

FutureOr onCancel(EventSink<R> sink);