provider property

(Future<V> Function(K key)?) provider
final

A provider function that takes the key of the value to be provided and returns the value future. If this is set, getOrFetch cannot be used but [] and get can be used

Implementation

final Future<V> Function(K key)? provider;