parentModule property

Module? parentModule

The Module that this Logic exists within.

For internal signals, this only gets populated after its parent Module, if it exists, has been built. Ports (both input and output) have this populated at the time of creation.


Module? get parentModule => _parentModule;
  1. @protected
void parentModule=(Module? newParentModule)

Sets the value of parentModule to newParentModule.

This should only be called by It is used to optimize search.


set parentModule(Module? newParentModule) => _parentModule = newParentModule;