debugScheduleUpdateCount property

  1. @visibleForTesting
int? get debugScheduleUpdateCount

The number of times the schedule update callback has been invoked from Layer.addCompositionCallback.

This is used for testing, and always returns null outside of debug mode.

Implementation

@visibleForTesting
int? get debugScheduleUpdateCount {
  if (kDebugMode) {
    return _debugScheduleUpdateCount;
  }
  return null;
}