dart sort list by date

72

products.sort((a,b) {
    return a.compareTo(b);
});
 
products.sort((a,b) => a.compareTo(b));

Comments

Submit
0 Comments