isNotNullAndEmpty property

bool get isNotNullAndEmpty

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

Example:

final text = 'Hello World';
final isNotNullAndEmpty = text.isNotNullAndEmpty;
// returns: true

Implementation

bool get isNotNullAndEmpty => !isNullOrEmpty;