isNullOrEmpty property

bool get isNullOrEmpty

Checks if this string is null or empty

Example:

print(''.isNullOrEmpty); // true
print('hello'.isNullOrEmpty); // false

Implementation

bool get isNullOrEmpty => isEmpty;