NumDurationExtensions extension
Adds extensions to num (ie. int & double) to make creating durations simple:
200.ms // equivalent to Duration(milliseconds: 200)
3.seconds // equivalent to Duration(milliseconds: 3000)
1.5.days // equivalent to Duration(hours: 36)
- on
Properties
- days → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter
- hours → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter
- microseconds → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter
- milliseconds → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter
- minutes → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter
- ms → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter
- seconds → Duration
- 
      Available on num, provided by the NumDurationExtensions extension no setter