NumberUtils class
Utility class for number-related operations.
This class cannot be instantiated.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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
Static Methods
-
applyRatio(
double? value, double ratio) → double? -
formatSize(
int sizeInBytes) → String -
randomDouble(
double min, double max) → double -
randomInt(
int min, int max) → int -
toStringAsFixedOrInteger(
double value, {int decimal = 1}) → String