MoEProperties class

Helper class to track event attributes.

Constructors

MoEProperties.new()

Properties

dateTimeAttributes Map<String, String>
getter/setter pair
generalAttributes Map<String, dynamic>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isNonInteractive bool
getter/setter pair
locationAttributes Map<String, Map<String, double>>
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>
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