DataCacheOptions.longLived constructor
DataCacheOptions.longLived()
Creates DataCacheOptions for long-lived cache entries
Implementation
factory DataCacheOptions.longLived() {
return const DataCacheOptions(
maxAge: Duration(days: 1),
compress: true,
storageType: 'both',
);
}