isEmptyList static method

bool isEmptyList(
  1. List<String>? myList
)

Implementation

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