cancel abstract method Null safety

Future<void> cancel()

This method should be invoked if the operation must be canceled.

Implementation

Future<void> cancel();