microseconds property Null safety

Duration microseconds

Returns a Duration representing the current value as microseconds.

Example:

200.microseconds; // Duration(microseconds: 200);

Implementation

Duration get microseconds {
  return Duration(microseconds: this);
}