initialize method
Implementation
@override
Future<void> initialize() async {
try {
await _methodChannel.invokeMethod('initialize');
_eventSubscription = _eventChannel.receiveBroadcastStream().listen(
_handleCallStateEvent,
);
} catch (e) {
debugPrint('Error initializing call detector: $e');
rethrow;
}
}