isNotEmpty property Null safety

bool isNotEmpty

Whether this value has no elements.

Example:

final list = createListProperty<String>(['Bob'])
print(list.isNotEmpty); // true;

Implementation

bool get isNotEmpty => _value.isNotEmpty;