formatSigned method
Format as a potentially negative value.
Implementation
String formatSigned({
bool showPlus = false,
int decimals = 2,
}) {
final options =
showPlus ? NegativeValueOptions.delta : NegativeValueOptions.defaults;
return NegativeByteFormatter.format(bytes,
options: options, decimals: decimals);
}