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