MethodChannelFirebaseAnalytics class
The method channel implementation of FirebaseAnalyticsPlatform.
- Inheritance
-
- Object
- FirebaseAnalyticsPlatform?
- MethodChannelFirebaseAnalytics
Constructors
Properties
Methods
-
logEvent(
{String? name, Map< String?, dynamic> ? parameters}) → Future<void> ? -
Logs the given event
name
with the givenparameters
.override -
noSuchMethod(
Invocation? invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resetAnalyticsData(
) → Future< void> ? -
Clears all analytics data for this app from the device and resets the app
instance id.
override
-
setAnalyticsCollectionEnabled(
bool? enabled) → Future< void> ? -
Sets whether analytics collection is enabled for this app.
override
-
setCurrentScreen(
{String? screenName, String? screenClassOverride}) → Future< void> ? -
Sets the current screen name, which specifies the current visual context
in your app.
override
-
setSessionTimeoutDuration(
int? milliseconds) → Future< void> ? -
Sets the duration of inactivity that terminates the current session.
override
-
setUserId(
String? id) → Future< void> ? -
Sets the user id.
override
-
setUserProperty(
{String? name, String? value}) → Future< void> ? -
Sets a user property to the given value.
override
-
toString(
) → String? -
A string representation of this object.
inherited
Operators
-
operator ==(
Object? other) → bool? -
The equality operator.
inherited