get<T> method

Future<T> get<T>(
  1. PrefKey<T> key
)

Gets a preference's effective value, resolving the source stack.

Implementation

Future<T> get<T>(PrefKey<T> key) async => (await resolve(key)).value as T;