In this guide, we will discuss String Property isEmpty in Dart Programming Language. Returns true if the string is empty; else returns false.
Syntax
String.isEmpty
Example
void main() { String str = "Hello"; print(str.isEmpty); }
It will produce the following output −.
False
Next Topic : Click Here
Pingback: String Property codeUnits | Adglob Infosystem Pvt Ltd
Pingback: Dart Programming - String | Adglob Infosystem Pvt Ltd