initialize method
Future<void>
initialize({
- required String apiKey,
- required BridgefyDelegate delegate,
- bool verboseLogging = false,
override
Implementation
@override
Future<void> initialize({
required String apiKey,
required BridgefyDelegate delegate,
bool verboseLogging = false,
}) async {
try {
await methodChannel.invokeMethod(
'initialize',
{
"apiKey": apiKey,
"verboseLogging": verboseLogging,
},
);
_delegate = delegate;
methodChannel.setMethodCallHandler(delegateCallHandler);
} on PlatformException catch (e) {
throw _bridgefyException(e);
}
}