IdentifyData class
A class representing identify data.
- Inheritance
-
- Object
- BatchItem
- BaseAppData
- BaseIdentifyData
- IdentifyData
Constructors
-
IdentifyData.new({required String userId, String? messageId, String? timestamp, AppDataContext? context, Map<
String, dynamic> ? traits}) - Creates a new instance of IdentifyData.
Properties
- context ↔ AppDataContext?
-
The context.
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId ↔ String?
-
The message ID.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp ↔ String?
-
The timestamp.
getter/setter pairinherited
-
traits
↔ Map<
String, dynamic> ? -
The traits.
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 identify data to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited