isEmptyOrNull property

bool isEmptyOrNull

Returns true if the String is either null or empty.

Implementation

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