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