milliseconds method

Duration milliseconds()

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

Implementation

Duration milliseconds() => _toDuration(Duration.microsecondsPerMillisecond);