dart sort list by date

69

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

Comments

Submit
0 Comments