count property

Future<int> get count

Asynchronously gets the count of items in the list.

This getter returns the length of the list obtained from the listAll method, which is awaited to ensure the list is fully retrieved before calculating its length.

Returns a Future<int> that completes with the number of items in the list.

Implementation

Future<int> get count async => (await listAll).length;