String Property isEmpty

  • Post author:
  • Post category:Dart
  • Post comments:2 Comments
String Property isEmpty

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

This Post Has 2 Comments

Leave a Reply