narrow function

CompactLocale narrow({
  1. String k = 'N',
  2. String M = 'Tr',
  3. String B = 'T',
  4. String T = 'NT',
})

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

Implementation

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