addISODateTime method
Adds an event attribute of type DateTime. dateTime will be in the ISO 8601 format - yyyy-MM-dd'T'HH:mm:ss.fff'Z'
Implementation
OptimusProperties addISODateTime(String key, DateTime dateTime) {
if (key.isEmpty) {
return this;
}
dateTimeDelegate.putIfAbsent(key, () => dateTime.toIso8601String());
return this;
}