ApiCacheStore.persistent constructor

ApiCacheStore.persistent({
  1. String name = 'slick_api_cache',
})

The store that survives a restart on this platform: IndexedDB on the web, files under the application support directory on Android, iOS and desktop, memory anywhere else. name names the database or directory.

Implementation

factory ApiCacheStore.persistent({String name = 'slick_api_cache'}) =>
    platform.persistentStore(name);