CustomEvent class
Custom event object.
Constructors
- CustomEvent(String name, int? value)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- interactionId ↔ String?
-
The event interaction ID.
getter/setter pair
- interactionType ↔ String?
-
The event interaction type.
getter/setter pair
- name → String
-
The event name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transactionId ↔ String?
-
The event transaction ID.
getter/setter pair
- value → int?
-
The event value.
final
Methods
-
addProperty(
String key, dynamic value) → void - Adds a property to the custom event.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setProperties(
Map< String, dynamic> properties) → void - Sets the custom event properties.
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- EVENT_NAME → const String
- EVENT_VALUE → const String
- INTERACTION_ID → const String
- INTERACTION_TYPE → const String
- PROPERTIES → const String
- TRANSACTION_ID → const String