Math class
An intrinsic object that provides basic mathematics functionality and constants.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
- Math({num? e, num? ln10, num? ln2, num? log2e, num? log10e, num? pi, num? sqrt12, num? sqrt2, num abs(num)?, num acos(num)?, num asin(num)?, num atan(num)?, num atan2(num, num)?, num ceil(num)?, num cos(num)?, num exp(num)?, num floor(num)?, num log(num)?, num max([Iterable?])?, num min([Iterable?])?, num pow(num, num)?, num random()?, num round(num)?, num sin(num)?, num sqrt(num)?, num tan(num)?, num clz32(num)?, num imul(num, num)?, num sign(num)?, num log10(num)?, num log2(num)?, num log1p(num)?, num expm1(num)?, num cosh(num)?, num sinh(num)?, num tanh(num)?, num acosh(num)?, num asinh(num)?, num atanh(num)?, num hypot([Iterable?])?, num trunc(num)?, num fround(num)?, num cbrt(num)?})
-
factory
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