Time.fromMicroseconds constructor

Time.fromMicroseconds(
  1. int microseconds
)

Creates a Time period instance from a total microseconds.

Implementation

factory Time.fromMicroseconds(int microseconds) {
  return Time.fromDuration(Duration(microseconds: microseconds));
}