isAllEmpty function

bool isAllEmpty (
  1. List<Object> list
)

Implementation

bool isAllEmpty(List<Object> list) {
  if (isEmpty(list)) {
    return true;
  } else {
    return list.every(isEmpty);
  }
}