getDateTime method
Converts the element at index to a DateTime.
Implementation
DateTime getDateTime(
int index, {
dynamic innerMapKey,
int? innerIndex,
String? format,
String? locale,
bool autoDetectFormat = false,
bool useCurrentLocale = false,
bool utc = false,
DateTime? defaultValue,
ElementConverter<DateTime>? converter,
}) => ConvertObjectImpl.toDateTime(
_valueAt(index),
mapKey: innerMapKey,
listIndex: innerIndex,
format: format,
locale: locale,
autoDetectFormat: autoDetectFormat,
useCurrentLocale: useCurrentLocale,
utc: utc,
defaultValue: defaultValue,
converter: converter,
debugInfo: {'index': index},
);