MoEProperties class

Helper class to track event attributes.

Constructors

MoEProperties()
MoEProperties Constructor

Properties

dateTimeAttributes Map<String, String>
Date Time Attributes
getter/setter pair
generalAttributes Map<String, dynamic>
General Attribute
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isNonInteractive bool
Non Interactive Event Flag
getter/setter pair
locationAttributes Map<String, Map<String, double>>
Location Attribute
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addAttribute(String key, dynamic value) MoEProperties
Adds an event attribute of type string, number or boolean.
addISODateTime(String key, String value) MoEProperties
Adds an event attribute of type Date. Date should be in the following format - yyyy-MM-dd'T'HH:mm:ss.fff'Z'
getEventAttributeJson() Map<String, dynamic>
Get Event Attributes Map
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setNonInteractiveEvent() MoEProperties
Marks an event as non-interactive.
toString() String
A string representation of this object.
inherited

Operators

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