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 not null and not empty
Implementation
bool get isNotNullOrEmpty => this?.isNotEmpty ?? false;