compareTo method
Compares this Action to other
, based on their timestamps.
Returns:
Implementation
@override
int compareTo(Action? other) {
if (other == null) return 1;
return timestamp.compareTo(other.timestamp);
}
Compares this Action to other
, based on their timestamps.
Returns:
@override
int compareTo(Action? other) {
if (other == null) return 1;
return timestamp.compareTo(other.timestamp);
}