createChild method

Container createChild()

Creates a child Container that can define its own singletons and factories.

Use this to create children of a global "scope."

Implementation

Container createChild() {
  return Container._child(this);
}