InfiniteQueryMutationHelpers extension

To help with mutation items for infinite queries.

on

Methods

updateItemInInfiniteQuery<T>({required String keyPrefix, required dynamic matcher(T), required dynamic updater(T)}) → void

Available on DAQCache, provided by the InfiniteQueryMutationHelpers extension

Find by the matcher and replace with the updater in all query cache results, that start with the keyPrefix, and are of type DAQInfiniteQueryResponse