NumeralLanguage class abstract interface

A language pack supplies locale-specific unit data and number-word codecs.

Implementers

Properties

compactUnits NumeralUnitSet
Compact unit data for this language.
no setter
hashCode int
The hash code for this object.
no setterinherited
locale String
BCP 47-style locale identifier.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

compact({String decimalSeparator = '.', int minFractionDigits = 0, int maxFractionDigits = 2, bool trimTrailingZeros = true, Rounding rounding = Rounding.halfUp, bool compactOverflow = true}) NumeralCodec<num>
Creates a compact number codec using this pack's units.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited