didChangeAppLifecycleState method
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);
}
}