Interval.forMilliseconds(int ms)

Source

Interval.forMilliseconds(int ms) : this(new Duration(milliseconds: ms));