balance static method
combined number transform 1-3: from raw
Implementation
static String balance(
String? raw,
int decimals, {
int length = 4,
}) {
if (raw == null || raw.length == 0) {
return '~';
}
return doubleFormat(bigIntToDouble(balanceInt(raw), decimals),
length: length);
}