milliseconds property

Duration get milliseconds

Returns a Duration representing this double value in milliseconds.

Implementation

Duration get milliseconds => Duration(microseconds: (this * 1000).round());