putDouble method

BatchEventAttributes putDouble(
  1. String key,
  2. double value
)

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