cancel method

  1. @override
void cancel()
override

Cancels the task (If it is still running)

Implementation

@override
void cancel() {}