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