whenCancel abstract method
whenCancel Call f
when cancel.
f
cancel function.
Implementation
Disposable whenCancel(FutureOr<void> Function() f);
whenCancel Call f
when cancel.
f
cancel function.
Disposable whenCancel(FutureOr<void> Function() f);