get<T, V extends ValueListenable<T>> method

Get<T, V> get<T, V extends ValueListenable<T>>(
  1. Get<T, V> get, {
  2. bool createDependency = true,
  3. bool throwIfMissing = false,
})

Allows accessing the relevant value from an ancestor GetScope in a reasonably concise manner.

Implementation

Get<T, V> get<T, V extends ValueListenable<T>>(
  Get<T, V> get, {
  bool createDependency = true,
  bool throwIfMissing = false,
}) {
  return GetScope.of(
    this,
    get,
    createDependency: createDependency,
    throwIfMissing: throwIfMissing,
  );
}