RealtimeOptions constructor

const RealtimeOptions({
  1. bool after = true,
  2. bool ago = true,
  3. bool now = true,
  4. int nowShowingBeforeSeconds = 10,
  5. bool today = false,
  6. bool tomorrow = true,
  7. bool yesterday = true,
  8. bool second = true,
  9. bool minute = true,
  10. bool hour = true,
  11. bool day = true,
  12. bool week = false,
  13. bool month = false,
  14. bool year = false,
  15. String onYears(
    1. Realtime time
    )?,
  16. String onMonths(
    1. Realtime time
    )?,
  17. String onWeeks(
    1. Realtime time
    )?,
  18. String onDays(
    1. Realtime time
    )?,
  19. String onHours(
    1. Realtime time
    )?,
  20. String onMinutes(
    1. Realtime time
    )?,
  21. String onSeconds(
    1. Realtime time
    )?,
  22. String onTomorrow(
    1. Realtime time
    )?,
  23. String onToday(
    1. Realtime time
    )?,
  24. String onYesterday(
    1. Realtime time
    )?,
})

Implementation

const RealtimeOptions({
  this.after = true,
  this.ago = true,
  this.now = true,
  this.nowShowingBeforeSeconds = 10,
  this.today = false,
  this.tomorrow = true,
  this.yesterday = true,
  this.second = true,
  this.minute = true,
  this.hour = true,
  this.day = true,
  this.week = false,
  this.month = false,
  this.year = false,
  this.onYears,
  this.onMonths,
  this.onWeeks,
  this.onDays,
  this.onHours,
  this.onMinutes,
  this.onSeconds,
  this.onTomorrow,
  this.onToday,
  this.onYesterday,
});