toDateTime method
Implementation
DateTime toDateTime(int year,
[int month = 1, int day = 1, bool utc = true]) =>
utc
? DateTime.utc(
year, month, day, hour, minute, second, millisecond, microsecond)
: DateTime(
year, month, day, hour, minute, second, millisecond, microsecond);