Posts by Paulo Wender • 1 point
1 post
-
0
votes2
answers1773
viewsA: How to sort a list of objects in Dart?
You can also reverse the position of the comparators and convert to string, thus staying //BEFORE (a, b) => b.data.compareTo(a.data); //AFTERWARD (a, b) =>…