init method

  1. @override
Future<void> init({
  1. String? androidApiKey,
  2. String? iosApiKey,
  3. bool androidPrivacyShown = true,
  4. bool androidPrivacyAgreed = true,
})
override

Implementation

@override
Future<void> init({
  String? androidApiKey,
  String? iosApiKey,
  bool androidPrivacyShown = true,
  bool androidPrivacyAgreed = true,
}) async {
  await methodChannel.invokeMethod<void>('init', <String, Object?>{
    'androidApiKey': androidApiKey,
    'iosApiKey': iosApiKey,
    'androidPrivacyShown': androidPrivacyShown,
    'androidPrivacyAgreed': androidPrivacyAgreed,
  });
}