narrow function

CompactLocale narrow({
  1. String k = 'tn',
  2. String M = 'mn',
  3. String B = 'md',
  4. String T = 'bn',
})

Returns this locale with customizable labels for 10³, 10⁶, 10⁹ and 10¹².

Implementation

// ignore: non_constant_identifier_names
CompactLocale narrow({String k = 'tn', String M = 'mn', String B = 'md', String T = 'bn'}) => locale.copyWith(labels: {CompactLabel.thousand: k, CompactLabel.million: M, CompactLabel.billion: B, CompactLabel.trillion: T});