provider property

(Future<T> Function()?) provider
final

If provided, the cache will get the value by using this provider function when value is called and the value is not cached. If this is not set, value cannot be called, and getOrFetch must be used

Implementation

final Future<T> Function()? provider;