DataCacheOptions.permanent constructor

DataCacheOptions.permanent()

Creates DataCacheOptions for permanent cache entries

Implementation

factory DataCacheOptions.permanent() {
  return const DataCacheOptions(
    maxAge: null, // Never expires
    compress: true,
    storageType: 'both',
  );
}