isNotNullOrEmpty property

bool get isNotNullOrEmpty

IMPORTANT: do not call ?.isNotNullOrEmpty as it will chain to null not a bool Return true if the string is null or empty

Implementation

bool get isNotNullOrEmpty => this != null && this!.isNotEmpty;