onBackgroundChanged property
BehaviorSubject<bool>
get
onBackgroundChanged
Emits true when the app goes to the background and false when it comes back.
The default returns a new subject seeded with false on every call. No service of this
repository reads it.
Implementation
BehaviorSubject<bool> get onBackgroundChanged {
return BehaviorSubject<bool>.seeded(false);
}