BatchEventData class

Object holding data to be associated to an event.

Events support at most 10 tags and 15 attributes. Event data that is over the limit will be discarded. Note: those limits are enforced by the native SDKs, they might be different depending on the underlying SDK version your project is using.

Keys should be strings composed of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.

Constructors

BatchEventData()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addTag(String tag) BatchEventData
Add a tag. Collections are not supported.
internalGetBridgeRepresentation() Map
Internal method. Get the serializable representation of this object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
putBoolean(String key, bool value) BatchEventData
Add a boolean attribute for the given key.
putDate(String key, DateTime value) BatchEventData
Add a DateTime attribute for the given key.
putDouble(String key, double value) BatchEventData
Add a double attribute for the given key.
putInteger(String key, int value) BatchEventData
Add an integer attribute for the given key.
putString(String key, String value) BatchEventData
Add a string attribute for the given key.
putUrl(String key, Uri value) BatchEventData
Add a URL attribute for the given key.
toString() String
A string representation of this object.
inherited

Operators

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