Data class

Annotations
  • @JsonSerializable()

Constructors

Data({String? visitorId, String? anonymousId, bool? consent, Map<String, dynamic>? context, Map<String, dynamic>? assignmentsHistory, List<CampaignCache>? campaigns})
Data.fromJson(Map<String, dynamic> json)
factory

Properties

anonymousId String?
getter/setter pair
assignmentsHistory Map<String, dynamic>?
getter/setter pair
campaigns List<CampaignCache>?
getter/setter pair
getter/setter pair
context Map<String, dynamic>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
visitorId String?
getter/setter pair

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.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited