cancel method

void cancel()

取消计时器.

Implementation

void cancel() {
  _mTimer?.cancel();
  _mTimer = null;
  _isActive = false;
}