Programmation de fléchettes - Méthode List isEmpty
Renvoie true si la collection ne contient aucun élément.
Syntaxe
List.isEmpty
Exemple
void main() {
var lst = new List();
lst.add(12);
lst.add(13);
print(lst.isEmpty);
}
Il produira ce qui suit output -.
False