initialize static method

Future<void> initialize()

Initialize multi-account plugin

Implementation

static Future<void> initialize() async {
  if (_initialized) {
    debugPrint('Multi-VoIP Plugin: Already initialized');
    return;
  }

  try {
    debugPrint('═══════════════════════════════════════');
    debugPrint('🚀 INITIALIZING MULTI-VoIP PLUGIN');
    debugPrint('═══════════════════════════════════════');

    await VoipService.initialize();
    _setupCallbacks();

    _initialized = true;
    debugPrint('✅ Multi-VoIP Plugin initialized');
    debugPrint('═══════════════════════════════════════');
  } catch (e, stackTrace) {
    debugPrint('❌ Failed to initialize Multi-VoIP Plugin: $e');
    debugPrint('Stack trace: $stackTrace');
    rethrow;
  }
}