onCancel property

void Function()? onCancel
final

Called when the stream is cancelled.

Implementation

final void Function()? onCancel;