roundWithMode method
Rounds this value using the specified RoundingMode.
Implementation
double roundWithMode({
int precision = 2,
ByteRoundingMode mode = ByteRoundingMode.round,
}) {
return ByteRounding.withMode(this, precision: precision, mode: mode);
}