insertDate method Null safety

void insertDate(
  1. DateTime? value,
  2. {required int at}
)

Inserts a DateTime at the given index.

Throws a RangeError if the index is ouf of range.

Implementation

void insertDate(DateTime? value, {required int at});