isEmptyOrNull property

bool isEmptyOrNull

Whether this string is null or empty.

Implementation

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