isEmpty<T> static method

bool isEmpty<T>(
  1. Iterable<T>? list
)

Implementation

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