compareTo method

  1. @override
int compareTo(
  1. Double other
)
override

Compares this Double with another Double.

Returns:

  • negative value if this < other
  • zero if this == other
  • positive value if this > other

Implementation

@override
int compareTo(Double other) => _value.compareTo(other._value);