moduleById method
Returns the runtime module with moduleId, when registered.
Implementation
PixaRuntimePluginModuleSnapshot? moduleById(String moduleId) {
for (final PixaRuntimePluginModuleSnapshot module in moduleSnapshots) {
if (module.moduleId == moduleId) {
return module;
}
}
return null;
}