msTenths static method

String msTenths(
  1. TimeParts t
)

mm:ss.f — tenths of a second (e.g. 01:05.3).

Implementation

static String msTenths(TimeParts t) {
  final m = t.totalMinutes.toString().padLeft(2, '0');
  final s = t.seconds.toString().padLeft(2, '0');
  final f = t.millis ~/ 100;
  return '$m:$s.$f';
}