static bool isEmptyList(List<String>? myList) { if (myList == null) { return true; } if (myList.length == 0) { return true; } else { return false; } }