isNotNullOrEmpty property

bool get isNotNullOrEmpty

Returns true if this is neither null nor empty collection.

Implementation

bool get isNotNullOrEmpty {
  var iterable = this;
  return iterable != null && iterable.isNotEmpty;
}