microseconds property

Duration microseconds

Returns a Duration object representing the number of microseconds represented by this number.

Example usage:

  var fiveMicroseconds = 5.microseconds;
  print(fiveMicroseconds); // prints "Duration: 0:00:00.000005"

Implementation

Duration get microseconds => Duration(microseconds: this as int);