addChildContext method

void addChildContext(
  1. TypeContext childContext
)

Implementation

void addChildContext(TypeContext childContext) {
  if (this.childContext == null) {
    this.childContext = childContext;
  } else {
    this.childContext = TypeContext(
        types: this.childContext!.types, childContext: childContext);
  }
}