DecimalFormatter class

Constructors

DecimalFormatter(NumberFormat numberFormat)

Properties

hashCode int
The hash code for this object.
no setterinherited
numberFormat → NumberFormat
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

format(Decimal number) String
Format number according to our pattern and return the formatted string.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parse(String text) Decimal
Parses text as a decimal literal using the provided number formatter and returns its value as Decimal
toString() String
A string representation of this object.
inherited
tryParse(String text) Decimal?
Parses text as a decimal literal using the provided number formatter and returns its value as Decimal, or null if the parsing fails.

Operators

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