microseconds property

Duration get microseconds

Returns a Duration representing this number of microseconds.

The value is rounded to the nearest integer.

Implementation

Duration get microseconds => Duration(microseconds: round());