Realtime constructor

const Realtime({
  1. bool future = false,
  2. int second = 0,
  3. int minute = 0,
  4. int hour = 0,
  5. int day = 0,
  6. int week = 0,
  7. int month = 0,
  8. int year = 0,
  9. Duration diff = Duration.zero,
  10. DateTime? dateTime,
})

Implementation

const Realtime({
  this.future = false,
  this.second = 0,
  this.minute = 0,
  this.hour = 0,
  this.day = 0,
  this.week = 0,
  this.month = 0,
  this.year = 0,
  this.diff = Duration.zero,
  DateTime? dateTime,
}) : _dateTime = dateTime;