cancel method

void cancel()

取消方法

Implementation

void cancel() => _isCancelled = true;