putStringList method

BatchEventAttributes putStringList(
  1. String key,
  2. List<String> value
)

Add a String List 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 putStringList(String key, List<String> value) {
  _attributes[key.toLowerCase()] = TypedAttribute(type: TypedAttributeType.string_array, value: value);
  return this;
}