AsyncManagedCache<K, V> constructor

AsyncManagedCache<K, V>({
  1. Duration? expireDuration,
  2. void onExpired(
    1. K k,
    2. V? v
    )?,
  3. Duration? reloadDuration,
  4. void onReloaded(
    1. K k
    )?,
})

Implementation

AsyncManagedCache({
  this.expireDuration,
  this.onExpired,
  this.reloadDuration,
  this.onReloaded,
});