isNullOrBlank property

bool get isNullOrBlank

Returns true if the string is either null or blank.

Implementation

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