atTime method

DateTime? atTime([
  1. int hour = 0,
  2. int minute = 0,
  3. int second = 0
])

Implementation

DateTime? atTime([int hour = 0, int minute = 0, int second = 0]) {
  final t = this;
  if (t == null) return null;
  return DateTime(t.year, t.month, t.day, hour, minute, second);
}