whenCancel abstract method

Disposable whenCancel(
  1. FutureOr<void> f()
)

whenCancel Call f when cancel. f cancel function.

Implementation

Disposable whenCancel(FutureOr<void> Function() f);