isNullOrBlank property

bool get isNullOrBlank

Returns true if the String is either null or empty.

Implementation

bool get isNullOrBlank => this?.isBlank ?? true;