isNullOrEmpty method

bool isNullOrEmpty()

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

Implementation

bool isNullOrEmpty() {
  return this == null || this!.isEmpty;
}