format method
Implementation
String format() {
final micro = this.inMicroseconds;
if (micro < 1000) {
return "${micro}ns";
}
return "${inMilliseconds}ms";
}
String format() {
final micro = this.inMicroseconds;
if (micro < 1000) {
return "${micro}ns";
}
return "${inMilliseconds}ms";
}