handleMemoryPressure method Null safety

  1. @protected
  2. @mustCallSuper
void handleMemoryPressure()
mustCallSuper">@mustCallSuperprotected">@protected

Called when the operating system notifies the application of a memory pressure situation.

This method exposes the memoryPressure notification from SystemChannels.system.

Implementation

@protected
@mustCallSuper
void handleMemoryPressure() {
  rootBundle.clear();
}