getUsers method
Gets the list of all users registered to the cache item with key
.
Implementation
Result<Set<U>, CachetteError> getUsers(K key) =>
(get(key)).transformOk<Set<U>>((e) => e!.users);
Gets the list of all users registered to the cache item with key
.
Result<Set<U>, CachetteError> getUsers(K key) =>
(get(key)).transformOk<Set<U>>((e) => e!.users);