dynamic ControllerCancelCallback()

Type of stream controller onCancel callbacks.

The callback may return either void or a future.

Source

typedef ControllerCancelCallback();