persistentStore function

ApiCacheStore persistentStore(
  1. String name
)

The web keeps its answers in IndexedDB, which holds far more than localStorage and does not block the page while it reads.

Implementation

ApiCacheStore persistentStore(String name) => IndexedDbApiCacheStore(name);