whenCancel abstract method

Disposable whenCancel(
  1. dynamic f()
)

whenCancel Call f when cancel. f cancel function.

Implementation

Disposable whenCancel(Function() f);