register method

dynamic register(
  1. Observable observable
)

Implementation

register(Observable observable) {
  if ((isNullOrEmpty(observable.key)) || (observable.scope == null)) {
    return null;
  }

  // Notify
  _notifyDescendants(observable.scope!, observable);

  // Unresolved Named Scope
  if (unresolved != null) _notifyUnresolved(observable.scope!.id);
}