getKeys method

  1. @override
Future<Set<String>> getKeys()
override

Returns all keys (IDs) of objects stored in the container.

This method retrieves all keys belonging to this container from the backend, decodes them by removing the container prefix, and returns them as a set.

Returns: A future that completes with a set of all keys in the container. Keys are in their decoded form (without container prefix).

See also:

  • getAll for getting objects with their keys
  • getValues for getting just the objects
  • isEmpty for checking if there are any keys

Implementation

@override
Future<Set<String>> getKeys() => getDecodedKeys();