isNotNullOrEmpty property

bool get isNotNullOrEmpty

Returns true if the string is not null and not empty.

Implementation

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