AnalyticsManager class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isInitialized → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getCachedValue(
String key, {required dynamic defaultValue}) → dynamic - Get a cached value
-
getValue(
String key, {required dynamic defaultValue}) → dynamic - Get a value from RC (with fallback to cache)
-
init(
{Map< String, dynamic> ? defaultRemoteConfig, Duration fetchTimeout = const Duration(minutes: 10), Duration minimumFetchInterval = const Duration(seconds: 60), FirebaseOptions? options}) → Future<void> - Initialize Firebase Analytics & Remote Config
-
loadCache(
) → Future< void> - Load SharedPreferences cache
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refreshRemoteConfig(
) → Future< void> - Refresh & update cache
-
toString(
) → String -
A string representation of this object.
inherited
-
triggerFirebaseEvent(
String eventName, {Map< String, Object> ? parameters}) → Future<void> - Trigger Firebase Analytics event
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → AnalyticsManager
-
no setter