AnalyticsPlugin class final

The default implementation for an Analytics Plugin.

Inheritance
Implemented types
Mixed-in types
Available extensions

Constructors

AnalyticsPlugin({required List<AnalyticsProvider> providers})
Creates a new AnalyticsPlugin.

Properties

description String
The description of the provider.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
initialized bool
no setterinherited
name String
finalinherited
providers List<AnalyticsProvider>
The list of providers for the plugin.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
finalinherited

Methods

dispose() Future<void>
inherited
disposeOnce() Future<void>
override
init() Future<void>
inherited
initOnce() Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportEvent(String name, {Map<String, dynamic>? params}) Future<void>
Reports an event with a specific name and optional parameters.
override
reportUserEvent(UserEventType eventType, {ContentItem? content}) → void

Available on AnalyticsPlugin, provided by the UserEvents extension

Reports a user event on the content item.
toString() String
A string representation of this object.
inherited

Operators

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