MathUtils class

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

daysBetween({required DateTime fromDate, required DateTime toDate}) int
divide(List<num> numbers, {bool? roundUp, bool? roundDown}) num
factorialOf({required num number}) num
monthsBetween({required DateTime initialDate, required DateTime endDate}) int
multiply(List<num> numbers, {bool? roundUp, bool? roundDown}) num
percentOf({required num percent, required num of}) num
simpleRuleOfThree({required num number1, required num number2, required num inverselyProportionalNumber}) num
subtract(List<num> numbers, {bool? roundUp, bool? roundDown}) num
sum(List<num> numbers, {bool? roundUp, bool? roundDown}) num