onAppLifecycleStateChanged method

void onAppLifecycleStateChanged(
  1. AppLifecycleState state
)

Implementation

void onAppLifecycleStateChanged(AppLifecycleState state) {
  final previousState = _appLifecycleState;
  _appLifecycleState = state;
  if (previousState == AppLifecycleState.paused &&
      state == AppLifecycleState.resumed &&
      _autoInvalidateOnResume) {
    _refreshOnResume();
  }
}