handleMemoryPressure method Null safety
override
Called when the operating system notifies the application of a memory pressure situation.
This method exposes the memoryPressure
notification from
SystemChannels.system.
Implementation
@override
void handleMemoryPressure() {
super.handleMemoryPressure();
imageCache.clear();
}