Returns whether the app is in the foreground.
static Future<bool> get isAppOnForeground => FlutterForegroundTaskPlatform.instance.isAppOnForeground;