addISODateTime method

MoEProperties addISODateTime(
  1. String key,
  2. String value
)

Adds an event attribute of type Date. Date should be in the following format - yyyy-MM-dd'T'HH:mm:ss.fff'Z'

Implementation

MoEProperties addISODateTime(String key, String value) {
  if (_isAttributeNameEmpty(key)) {
    return this;
  }
  dateTimeAttributes.putIfAbsent(key, () => value);
  return this;
}