Timeago.since constructor

Timeago.since(
  1. DateTime since, {
  2. DateTimeLang? lang,
  3. bool showSeconds = true,
  4. bool showMinutes = true,
  5. bool showHours = true,
  6. bool showDays = true,
  7. bool showWeeks = false,
  8. bool showMonths = true,
  9. bool showYears = true,
})

Implementation

Timeago.since(DateTime since,
    {this.lang,
    this.showSeconds = true,
    this.showMinutes = true,
    this.showHours = true,
    this.showDays = true,
    this.showWeeks = false,
    this.showMonths = true,
    this.showYears = true})
    : duration = DateTime.now().difference(since);