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