getAsNullableDateTime method

DateTime? getAsNullableDateTime(
  1. int index
)

Converts array element into a DateTime or returns null if conversion is not possible.

  • index an index of element to get. Returns DateTime value of the element or null if conversion is not supported.

See DateTimeConverter.toNullableDateTime

Implementation

DateTime? getAsNullableDateTime(int index) {
  var value = _values[index];
  return DateTimeConverter.toNullableDateTime(value);
}