Trier la liste Bool Dart

booleans.sort((a, b) {
  if(b) {
    return 1;
  }
  return -1;
});
Alexander Ibekason