cancel method
Cancels a running task. Has no effect on a complete or failed task.
Returns true
if it had an effect.
Implementation
bool cancel() => jsObject.cancel();
Cancels a running task. Has no effect on a complete or failed task.
Returns true
if it had an effect.
bool cancel() => jsObject.cancel();