subModules property
override
Provides access to submodules before and after the build process.
Before build is called, this returns the ROHD Bridge-specific submodules added via addSubModule. After build, it returns the same collection as the base Module.subModules.
Implementation
@override
Iterable<Module> get subModules {
if (_isBuildingOrHasBuilt) {
return super.subModules;
}
// if not built, then return the ROHD Bridge sub-modules
return _rbSubModules.toList(growable: false);
}