debugLastPendingEventTimestamp property

  1. @visibleForTesting
Duration? debugLastPendingEventTimestamp

When asserts are enabled, returns the last tracked pending event timestamp for this recognizer.

Otherwise, returns null.

This getter is intended for use in framework unit tests. Applications must not depend on its value.

Implementation

@visibleForTesting
Duration? get debugLastPendingEventTimestamp {
  Duration? lastPendingEventTimestamp;
  assert(() {
    lastPendingEventTimestamp = _lastPendingEventTimestamp;
    return true;
  }());
  return lastPendingEventTimestamp;
}