initializeWithApiKey method
Implementation
@override
Future<void> initializeWithApiKey({
required String apiKey,
required String bundleId,
}) async {
try {
await methodChannel.invokeMethod<void>('initializeWithApiKey', {
'apiKey': apiKey,
'bundleId': bundleId,
});
} on PlatformException {
rethrow;
} catch (e) {
throw mapNativeError(e);
}
}