Readable class final
Represents a human-readable format for a numeric value.
Constructors
- Readable.new(num size, String type, [int fractionDigits = 1])
-
Constructs a Readable instance with the given
size
,type
, and optionalfractionDigits
.const
Properties
- fractionDigits → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → num
-
final
- text → String
-
Returns the formatted text representation of the Readable instance.
no setter
- type → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited