compareTo method
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);