compareTo method

int compareTo(
  1. String other
)

Compares the current value of Rx<String> with other.

Returns a negative integer if the current value is less than other, zero if they are equal, and a positive integer if the current value is greater than other.

Implementation

int compareTo(String other) => value.compareTo(other);