getAsync<V> method

Future<V?> getAsync<V>(
  1. String key
)

Gets the value of key in async mode.

Implementation

Future<V?> getAsync<V>(String key) async {
  if (isLoaded) return get<V>(key);
  return _callLoaded<V?>(() => get<V>(key));
}