DurationOps
extension DurationOps on intConvenience constructors for creating Duration values from integer literals, e.g. 5.seconds, 200.milliseconds.
Properties
day extension no setter
Duration get dayA Duration of this many days.
Available on int, provided by the DurationOps extension
Implementation
Duration get day => Duration(days: this);days extension no setter
Duration get daysA Duration of this many days.
Available on int, provided by the DurationOps extension
Implementation
Duration get days => Duration(days: this);hour extension no setter
Duration get hourA Duration of this many hours.
Available on int, provided by the DurationOps extension
Implementation
Duration get hour => Duration(hours: this);hours extension no setter
Duration get hoursA Duration of this many hours.
Available on int, provided by the DurationOps extension
Implementation
Duration get hours => Duration(hours: this);microsecond extension no setter
Duration get microsecondA Duration of this many microseconds.
Available on int, provided by the DurationOps extension
Implementation
Duration get microsecond => Duration(microseconds: this);microseconds extension no setter
Duration get microsecondsA Duration of this many microseconds.
Available on int, provided by the DurationOps extension
Implementation
Duration get microseconds => Duration(microseconds: this);millisecond extension no setter
Duration get millisecondA Duration of this many milliseconds.
Available on int, provided by the DurationOps extension
Implementation
Duration get millisecond => Duration(milliseconds: this);milliseconds extension no setter
Duration get millisecondsA Duration of this many milliseconds.
Available on int, provided by the DurationOps extension
Implementation
Duration get milliseconds => Duration(milliseconds: this);minute extension no setter
Duration get minuteA Duration of this many minutes.
Available on int, provided by the DurationOps extension
Implementation
Duration get minute => Duration(minutes: this);minutes extension no setter
Duration get minutesA Duration of this many minutes.
Available on int, provided by the DurationOps extension
Implementation
Duration get minutes => Duration(minutes: this);second extension no setter
Duration get secondA Duration of this many seconds.
Available on int, provided by the DurationOps extension
Implementation
Duration get second => Duration(seconds: this);seconds extension no setter
Duration get secondsA Duration of this many seconds.
Available on int, provided by the DurationOps extension
Implementation
Duration get seconds => Duration(seconds: this);