DurationTimeExtension extension

on

Properties

ago DateTime
Subtracts the Duration from the current DateTime and returns a DateTime in the past
no setter
delay Future<void>
Returns a Future.delayed from this
no setter
fromNow DateTime
Adds the Duration to the current DateTime and returns a DateTime in the future
no setter
inWeeks int
Returns the representation in weeks
no setter
later DateTime
no setter

Constants

daysPerWeek → const int
nanosecondsPerMicrosecond → const int