IntExtension extension

Extension method for integers.

on

Properties

days Duration
Returns Duration of this in days.
read-only
hours Duration
Returns Duration of this in hours.
read-only
microseconds Duration
Returns Duration of this in microseconds.
read-only
milliseconds Duration
Returns Duration of this in milliseconds.
read-only
minutes Duration
Returns Duration of this in minutes.
read-only
range Iterable<int>
Returns an iterable from 0 up to but not including this. Example: [...]
read-only
seconds Duration
Returns Duration of this in seconds.
read-only

Methods

to(int end, {int by = 1}) Iterable<int>
Returns an iterable from this inclusive to end exclusive. [...]