isNullOrEmpty property

bool isNullOrEmpty

Returns true if the string is either null or empty.

Implementation

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