ControllerCancelCallback typedef Null safety

ControllerCancelCallback = FutureOr<void> Function()

Type of stream controller onCancel callbacks.

Implementation

typedef FutureOr<void> ControllerCancelCallback();