didHaveMemoryPressure method

  1. @override
void didHaveMemoryPressure()
override

Decoded tiles are exactly what the OS wants freed — cheaply reloaded later — so drop them rather than risk the app being killed for a cache.

Implementation

@override
void didHaveMemoryPressure() => _engine.handleMemoryPressure();