count property

int get count

Returns the count of elements in the list, or 0 if the list is null.

Implementation

int get count => this?.length ?? 0;