isNotEmpty property

  1. @override
bool? isNotEmpty
override

If the internal NotifierBase is an EmptyValueNotifier, you can check if it is not empty.

Trying to read isEmpty, when the internal NotifierBase is not an EmptyValueNotifier returns null.

Implementation

@override
bool? get isNotEmpty {
  if (_notifier is! EmptyValueNotifier<V>) return null;
  return (_notifier as EmptyValueNotifier<V>).isNotEmpty;
}