onForeground method
void
onForeground()
Called when the app switches from the background to the foreground.
Implementation
void onForeground() {}
Called when the app switches from the background to the foreground.
void onForeground() {}