putObject method
- String key,
- BatchEventAttributes value
Add a BatchEventData attribute for the given key.
The attribute key should be a string composed of letters, numbers or underscores ([a-z0-9_]) and can't be longer than 30 characters.
Implementation
BatchEventAttributes putObject(String key, BatchEventAttributes value) {
_attributes[key.toLowerCase()] = TypedAttribute(type: TypedAttributeType.object, value: value.internalGetBridgeRepresentation());
return this;
}