DurationSC extension
Supercharged extensions on Duration.
- on
Properties
-
delay
→ Future<
void> -
Available on Duration, provided by the DurationSC extension
Returns a Future that completes afterthisduration.no setter
Methods
-
ago(
) → DateTime -
Available on Duration, provided by the DurationSC extension
Returns a DateTime object with the current date and time having this duration subtracted. -
fromNow(
) → DateTime -
Available on Duration, provided by the DurationSC extension
Returns a DateTime object with the current date and time having this duration added.
Operators
-
operator /(
Duration otherDuration) → double -
Available on Duration, provided by the DurationSC extension
DividesthisbyotherDurationand returns a fraction.