NumberSymbols class Null safety

This holds onto information about how a particular locale formats numbers. It contains strings for things like the decimal separator, digit to use for "0" and infinity. We expect the data for instances to be generated out of ICU or a similar reference source.

Constructors

NumberSymbols({required String NAME, required String DECIMAL_SEP, required String GROUP_SEP, required String PERCENT, required String ZERO_DIGIT, required String PLUS_SIGN, required String MINUS_SIGN, required String EXP_SYMBOL, required String PERMILL, required String INFINITY, required String NAN, required String DECIMAL_PATTERN, required String SCIENTIFIC_PATTERN, required String PERCENT_PATTERN, required String CURRENCY_PATTERN, required String DEF_CURRENCY_CODE})
const

Properties

CURRENCY_PATTERN String
final
DECIMAL_PATTERN String
final
DECIMAL_SEP String
final
DEF_CURRENCY_CODE String
final
EXP_SYMBOL String
final
GROUP_SEP String
final
hashCode int
The hash code for this object. [...]
read-only, inherited
INFINITY String
final
MINUS_SIGN String
final
NAME String
final
NAN String
final
PERCENT String
final
PERCENT_PATTERN String
final
PERMILL String
final
PLUS_SIGN String
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
SCIENTIFIC_PATTERN String
final
ZERO_DIGIT String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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