NumberUtils class

Constructors

NumberUtils()

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

isEqualTo({required num num1, required num num2}) bool
Return true if num1 is smaller than num2.
isGreaterThan({required num num1, required num num2}) bool
Return true if num1 is greater than num2.
isGreaterThanOrEqual({required num num1, required num num2}) bool
Return true if num1 is greater than num2 or both numbers are equal.
isSmallerThan({required num num1, required num num2}) bool
Return true if num1 is smaller than num2.
isSmallerThanOrEqual({required num num1, required num num2}) bool
Return true if num1 is smaller than num2 or both numbers are equal.