isNullOrEmpty property

bool get isNullOrEmpty

Returns true if iterable is null or empty.

Implementation

bool get isNullOrEmpty {
  return this?.isEmpty ?? true;
}