onGetValue method

  1. @override
Future<T> onGetValue(
  1. String k
)
override

Delegates to the provided getter function to asynchronously retrieve the value for the key.

Simply forwards the key to the custom getter, returning its Future<T> result. No additional error handling or side effects; relies on getValue for fallback to defaultValue.

Implementation

@override
Future<T> onGetValue(String k) => getter(k);