RemoteConfigManager class

Manage Firebase Remote Config lifecycle and cache values into preferences.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

currentRemoteConfig → FirebaseRemoteConfig?
no setter
isCacheInitialized → bool
no setter
isRemoteConfigUpdated → bool
no setter
remoteConfigReady → ValueListenable<bool>
no setter

Static Methods

addListener(VoidCallback listener) → void
clearRemoteConfig() → Future<void>
Clear cached remote config data.
ensureRemoteConfig({RemoteConfigSettings? settings}) → Future<FirebaseRemoteConfig>
Ensure there is a FirebaseRemoteConfig instance ready to use.
fetchAndActivate() → Future<bool>
Fetch & activate latest remote config values using the managed instance.
initialize({RemoteConfigSettings? settings, bool fetchLatest = false}) → Future<void>
Initialize local cache from remote config.
removeListener(VoidCallback listener) → void
updateRemoteConfig({bool fetchLatest = false}) → Future<void>
Update cache from the managed Firebase Remote Config instance.