NumberFormat.compactLong constructor Null safety

NumberFormat.compactLong(
  1. {String? locale}
)

A number format for "long" compact representations, e.g. "1.2 million" instead of of "1,200,000".

Implementation

factory NumberFormat.compactLong({String? locale}) {
  return _CompactNumberFormat(
      locale: locale,
      formatType: _CompactFormatType.COMPACT_DECIMAL_LONG_PATTERN);
}