get length of list dart code example Example: how to find the length a list in dart list.length //to check a length of list