didChangeAppLifecycleState method
Called by the framework when the application launch state changes.
Implementation
@override
void didChangeAppLifecycleState(AppLifecycleState state) {
if (state == AppLifecycleState.resumed) {
refresh();
}
}