setIsForeground method

void setIsForeground(
  1. bool isForeground
)

Sets whether the app is foregrounded.

Implementation

void setIsForeground(bool isForeground) {
  _isForeground = isForeground;
}