cancel abstract method

FutureOr<void> cancel()

Cancels the pending or in-progress operation.

Multiple calls to this method should have the same result. In other words, it should be idempotent.

Implementation

FutureOr<void> cancel();