AnalyticsCategory class
- Inheritance
-
- Object
- AmplifyCategory<
AnalyticsPluginInterface> - AnalyticsCategory
Constructors
Properties
- category → Category
-
no setteroverride
- defaultPlugin → AnalyticsPluginInterface
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
plugins
→ List<
AnalyticsPluginInterface> -
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addPlugin(
AnalyticsPluginInterface plugin) → Future< void> -
Adds a plugin to the category.
inherited
-
disable(
) → Future< void> -
enable(
) → Future< void> -
flushEvents(
) → Future< void> -
getPlugin<
T extends P> () → T -
inherited
-
identifyUser(
{required String userId, required AnalyticsUserProfile userProfile}) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
recordEvent(
{required AnalyticsEvent event}) → Future< void> -
registerGlobalProperties(
{required AnalyticsProperties globalProperties}) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
unregisterGlobalProperties(
{List< String> propertyNames = const <String>[]}) → Future<void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited