BatchEventAttributes 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
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
-
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) → BatchEventAttributes - Add a boolean attribute for the given key.
-
putDate(
String key, DateTime value) → BatchEventAttributes - Add a DateTime attribute for the given key.
-
putDouble(
String key, double value) → BatchEventAttributes - Add a double attribute for the given key.
-
putInteger(
String key, int value) → BatchEventAttributes - Add an integer attribute for the given key.
-
putObject(
String key, BatchEventAttributes value) → BatchEventAttributes - Add a BatchEventData attribute for the given key.
-
putObjectList(
String key, List< BatchEventAttributes> value) → BatchEventAttributes - Add an Object List attribute for the given key.
-
putString(
String key, String value) → BatchEventAttributes - Add a string attribute for the given key.
-
putStringList(
String key, List< String> value) → BatchEventAttributes - Add a String List attribute for the given key.
-
putUrl(
String key, Uri value) → BatchEventAttributes - 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