didHaveMemoryPressure method
Called when the system is running low on memory.
This method exposes the memoryPressure notification from
SystemChannels.system.
Implementation
@override
void didHaveMemoryPressure() {
super.didHaveMemoryPressure();
onMemoryPressure();
}