onRegister method

  1. @override
void onRegister(
  1. EditorModuleContext context
)
override

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;