isEmptyList static method

bool isEmptyList(
  1. Iterable? list
)

Returns true if the list is null or 0-length.

Implementation

static bool isEmptyList(Iterable? list) {
  return list == null || list.isEmpty;
}