resetInternalState method

  1. @override
void resetInternalState()
override

Resets the engine's internal caches.

This is primarily intended for test harnesses to ensure test isolation and prevent cached offscreen render targets or other transient engine state from leaking across consecutive tests.

Implementation

@override
void resetInternalState() {
  _platformDispatcher.resetInternalState();
}