toDateTime method
Implementation
@override
DateTime toDateTime({TimeStamp? filler}) {
if (filler == null) {
return DateTime.utc(year, month, day, 0, 0, 0);
}
return DateTime.utc(
year,
month,
day,
filler.toDateTime().hour,
filler.toDateTime().minute,
filler.toDateTime().second,
);
}