milliseconds method

Duration milliseconds()

Creates a new Duration object using this value as its milliseconds part

Implementation

Duration milliseconds() => Duration(milliseconds: limitMin(0));