check method

void check()

Implementation

void check() {
  final DateTime? last = _lastBeat;
  if (last == null || _reported) return;
  final Duration blocked = _clock().difference(last);
  if (blocked < threshold) return;
  _reported = true;
  _onHang(blocked);
}