AnalyticsEvent class

Represents an analytics event with a name and optional parameters.

This class is used to encapsulate the details of an event that can be logged for analytics purposes.

The name parameter is required and represents the name of the event. The parameters parameter is optional and can be used to provide additional details about the event in the form of key-value pairs.

Constructors

AnalyticsEvent(String name, {Map<String, Object>? parameters})

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
final
parameters Map<String, Object>?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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