TrackData class
A class representing track data.
- Inheritance
-
- Object
- BatchItem
- BaseAppData
- BaseTrackData
- TrackData
Constructors
-
TrackData.new({required String event, String? userId, String? anonymousId, String? messageId, String? timestamp, AppDataContext? context, Map<
String, dynamic> ? properties}) - Creates a new instance of TrackData.
Properties
- anonymousId ↔ String?
-
The anonymous ID.
getter/setter pair
- context ↔ AppDataContext?
-
The context.
getter/setter pairinherited
- event ↔ String
-
The event.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId ↔ String?
-
The message ID.
getter/setter pairinherited
-
properties
↔ Map<
String, dynamic> ? -
The properties.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ String?
-
The timestamp.
getter/setter pairinherited
- userId ↔ String?
-
The user ID.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the track data to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited