isNullOrEmpty property

bool isNullOrEmpty

Will return if the string is null or empty

Implementation

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