findObservable method

Observable? findObservable(
  1. Scope? scope,
  2. String? key
)

Implementation

Observable? findObservable(Scope? scope, String? key) {
  if ((scope == null) || (isNullOrEmpty(key))) return null;
  if (scope.observables.containsKey(key)) return scope.observables[key];
  return findObservable(scope.parent, key);
}