clear method

Future<void> clear()

Implementation

Future<void> clear() async {
  await _clear?.call(this);
  _timer?.cancel();
}