createScope method

Container createScope()

Creates a new scope (child container) that inherits descriptors.

Implementation

Container createScope() {
  return Container(parent: this);
}