getter property

Future<T> Function(String) getter
final

The asynchronous function to retrieve a value by key, returning a Future<T>.

This field is final and required, allowing custom logic for value fetching (e.g., from a database or API). Called by onGetValue; ensure it handles errors appropriately for integration with getValue's fallback mechanism.

Implementation

final Future<T> Function(String) getter;