initialize method
Initialize the bridge with native code
Implementation
@override
Future<bool> initialize() async {
try {
final result = await bridgeChannel.invokeMethod<bool>('initialize');
return result ?? false;
} catch (e) {
debugPrint('Failed to initialize bridge: $e');
return false;
}
}