CustomEvent class

Custom event object.

Constructors

CustomEvent({required String name, double? value, String? transactionId, String? interactionId, String? interactionType, Map<String, dynamic>? properties})

Properties

hashCode int
The hash code for this object.
no setterinherited
interactionId String?
The event interaction ID.
final
interactionType String?
The event interaction type.
final
name String
The event name.
final
properties Map<String, dynamic>?
The event properties.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionId String?
The event transaction ID.
final
value double?
The event value.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJSON() 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