compactLong method

String compactLong([
  1. String? locale
])

format number with intl compactLong format

Implementation

String compactLong([String? locale]) {
  if (this == null) return '';
  return NumberFormat.compactLong(locale: locale).format(this!);
}