
In this guide, we will discuss List isEmpty Method in Dart Programming Language. Returns true if the collection has no elements.
Syntax
List.isEmpty
Example
void main() { var lst = new List(); lst.add(12); lst.add(13); print(lst.isEmpty); }
It will produce the following output −.
False
Next Topic : Click Here
Pingback: Dart Programming - ListFirst Method | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - Lists | Adglob Infosystem Pvt Ltd