CacheResult<T> constructor

const CacheResult<T>({
  1. required T data,
  2. required bool fromCache,
  3. Duration? cacheAge,
  4. DateTime? cachedAt,
})

Implementation

const CacheResult({
  required this.data,
  required this.fromCache,
  this.cacheAge,
  this.cachedAt,
});