toDateTimes static method

Iterable<DateTime?> toDateTimes(
  1. Iterable list, {
  2. String format = defDateTimeFormat,
  3. String? locale,
  4. bool isUtc = false,
  5. DateTime? defaultValue,
})

Implementation

static Iterable<DateTime?> toDateTimes(Iterable list,
        {String format = defDateTimeFormat,
        String? locale,
        bool isUtc = false,
        DateTime? defaultValue}) =>
    list.map((v) => toDateTime(v,
        format: format,
        locale: locale,
        isUtc: isUtc,
        defaultValue: defaultValue));