function for lenth of liost dart code example Example: how to find the length a list in dart list.length //to check a length of list