microsecAsString function

String microsecAsString (
  1. DateTime time
)

Returns given DateTime's microsecond as a # String formatted III (ex. '004').

Implementation

String microsecAsString(DateTime time) {
  return formatTime(time: time, format: 'OOO');
}