isEmpty static method

dynamic isEmpty(
  1. List? list
)

Implementation

static isEmpty(List? list) {
  return list == null || list.isEmpty;
}