millisecAsString function

String millisecAsString (
  1. DateTime time
)

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

Implementation

String millisecAsString(DateTime time) {
  return formatTime(time: time, format: 'III');
}