parent property

InteractiveContext? parent

The parent of this context.

If this context was created by an operation on another context, this will be that context. Otherwise, this is null.

You might also be interested in:

Implementation

InteractiveContext? get parent;