initialize static method
Implementation
static Future<void> initialize() async {
if (_handlerRegistered) {
print('✅ [CONNECTOR_SERVICE] Already initialized');
return;
}
_handlerRegistered = true;
print('🔧 [CONNECTOR_SERVICE] Initializing ConnectorService...');
platform.setMethodCallHandler(_handleNativeCallbacks);
print('✅ [CONNECTOR_SERVICE] Method call handler registered for channel: com.onairos.oboe/connectors');
print('✅ [CONNECTOR_SERVICE] Ready to receive events from native code');
}