compareTo method
Sorting rules
Implementation
@override
int compareTo(DossierLegislatifFromJson other) {
var comparisonResult =
(other.votesRef?.length ?? 0).compareTo((this.votesRef?.length ?? 0));
if (comparisonResult != 0) {
return comparisonResult;
}
return (other.uuid ?? "emptyA").compareTo((this.uuid ?? "emptyB"));
}