countSync property

int get countSync

A getter that returns the count of all elements in the list synchronously.

This getter accesses the listAllSync property and returns its length.

Returns: An integer representing the number of elements in the list.

Implementation

int get countSync => listAllSync.length;