SingleValueCache<T> constructor

SingleValueCache<T>({
  1. Duration? maxAge,
  2. Future<T> provider()?,
})

Implementation

SingleValueCache({
  this.maxAge,
  this.provider,
});