DurationTimeExtension extension
- on
Properties
- ago → DateTime
-
Available on Duration, provided by the DurationTimeExtension extension
Subtracts the Duration from the current DateTime and returns a DateTime in the pastno setter -
delay
→ Future<
void> -
Available on Duration, provided by the DurationTimeExtension extension
Returns a Future.delayed from thisno setter - fromNow → DateTime
-
Available on Duration, provided by the DurationTimeExtension extension
Adds the Duration to the current DateTime and returns a DateTime in the futureno setter - inWeeks → int
-
Available on Duration, provided by the DurationTimeExtension extension
Returns the representation in weeksno setter
Methods
Constants
- daysPerWeek → const int
- nanosecondsPerMicrosecond → const int