format method
Formats value into a display string.
Implementation
@override
String format(num value) {
final special = formatSpecial(value);
if (special != null) return special;
var index = _unitMatcher.indexFor(value.abs());
if (compactOverflow) {
index = _overflowIndex(value, index);
}
final unit = _unitMatcher.unitAt(index);
return unit.format(style.format(value / unit.scale));
}