MathUtils class abstract
Util class for operations on numbers.
Constructors
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
-
minOf<
T extends num> (List< T> list) → T -
Returns the minimum element of
list
. -
mult<
T extends num> (T n1, T n2) → T - Convinience method to multiply two numbers. Can be used e.g. in Iterable.reduce:
-
sum<
T extends num> (T n1, T n2) → T - Convinience method to sum up two numbers. Can be used e.g. in Iterable.reduce: