inForeground property

bool? inForeground
final

A flag indicating whether the app is in foreground or not. An app is in foreground when it's visible to the user.

Implementation

final bool? inForeground;