isNullOrEmpty property
bool
get
isNullOrEmpty
Returns true if the string is null or empty.
Example:
''.isNullOrEmpty; // true
'text'.isNullOrEmpty; // false
Implementation
bool get isNullOrEmpty => isEmpty;