isNotNullOrEmpty method

bool isNotNullOrEmpty()

Returns false if this nullable iterable is either null or empty.

Implementation

bool isNotNullOrEmpty() {
  return this != null && this!.isNotEmpty;
}