isEmptyOrNull property

bool get isEmptyOrNull

Whether this string is null or empty.

Implementation

bool get isEmptyOrNull => this?.isEmpty ?? true;