didChangeAppLifecycleState method

  1. @override
void didChangeAppLifecycleState(
  1. AppLifecycleState state
)
override

WidgetBindingsObserver function, when the app is resumed automation checks the triggers in case something has changed.

Implementation

@override
void didChangeAppLifecycleState(AppLifecycleState state) {
  if (state == AppLifecycleState.resumed) {
    MBAutomationMessagesManager.checkMessages(fromStartup: false);
  }
}