microsecondsOnly property

int get microsecondsOnly

Returns the microseconds component of the Duration.

The returned number of microseconds does not include any milliseconds.

Example:

Duration(milliseconds: 5, microseconds: 6).microsecondsOnly; // 6

Implementation

int get microsecondsOnly => inMicroseconds.remainder(1000);