getCompatNumber method

String getCompatNumber(
  1. dynamic number
)

Implementation

String getCompatNumber(number) {
  return NumberFormat.compact().format(number);
}