AsyncValueSetter<T> typedef
Signature for callbacks that report that a value has been set and return a Future that completes when the value has been saved.
See also:
- ValueSetter, a synchronous version of this signature.
- AsyncValueGetter, the getter equivalent of this signature.
Implementation
typedef AsyncValueSetter<T> = Future<void> Function(T value);