Event class

Inheritance
Implementers

Constructors

Event({required String action, required EventCategory? category, String? label, int? value})
Event.fromMap(String oldId, Map body)

Properties

action String
The action corresponds to the KPI name you will be able to select inside the Flagship dashboard reporting. The maximum permitted length is 500 Bytes.
getter/setter pair
anonymousId String?
getter/setter pairinherited
bodyTrack Map<String, Object>
no setteroverride
category EventCategory?
Categorizes the event and helps us understand what you want to retrieve inside the reporting.
getter/setter pair
clientId String
getter/setter pairinherited
communBodyTrack Map<String, Object>
no setterinherited
createdAt DateTime?
CreatedAt date
getter/setter pairinherited
dataSource String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String
getter/setter pairinherited
label String?
The label argument is a supplementary description of your event. The maximum permitted length is 500 Bytes.
getter/setter pair
location String?
This argument refers to the Screen Name of the app, at the moment the hit is sent. The maximum permitted length is 2048 Bytes .
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenResolution String?
Refers to the the screen resolution in pixels. The maximum permitted length is 20 Bytes.
getter/setter pairinherited
sessionNumber int?
Indicates the number of sessions the current visitor has logged, including the current session.
getter/setter pairinherited
type HitCategory
getter/setter pairinherited
typeOfEvent String
no setterinherited
userIp String?
Refers to the IP address of the user. This should be a valid IP address in IPv4 or IPv6 format. The maximum permitted length is 45 Bytes.
getter/setter pairinherited
userLanguage String?
Refers to the user's language. The maximum permitted length is 20 Bytes.
getter/setter pairinherited
value int?
value of the event, must be non-negative.
getter/setter pair
visitorId String
getter/setter pairinherited

Methods

isLessThan4H() bool
inherited
isValid() bool
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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