onRegister method
Called once, when this module joins an editor, after the built-ins are in place. One-time setup belongs here: loading files, installing into the engine, recovering from a crash. A hot reload does not call it again — see onReassemble.
Implementation
@override
void onRegister(EditorModuleContext context) => _scope = context.scope;