RemoteConfigAdsKeyProvider class

Implemented types

Constructors

RemoteConfigAdsKeyProvider({required AdsConfig fallback, Map<String, String>? customKeys, void onConfigFetched(FirebaseRemoteConfig rc)?, Duration fetchTimeout = const Duration(seconds: 10), Duration minimumFetchInterval = const Duration(hours: 6)})

Properties

customKeys → Map<String, String>?
Custom remote config key names (override defaults)
final
fallback → AdsConfig
Fallback config used if remote fetch fails
final
fetchTimeout → Duration
Remote Config fetch timeout.
final
hashCode → int
The hash code for this object.
no setterinherited
minimumFetchInterval → Duration
Firebase's minimum interval between network fetches.
final
onConfigFetched → void Function(FirebaseRemoteConfig rc)?
Optional extra keys to fetch (e.g., your aiApiKey)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

getConfig() → Future<AdsConfig>
override
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