initialize method
Initialize this plugin for the AdMob app specified by appId
.
If appAppOpenAdUnitId null, App Open ads will disable
Implementation
Future<bool?> initialize({
String? appAppOpenAdUnitId,
AdRequestAppOpen? targetingInfo,
}) {
return _channel.invokeMethod<bool>(
'initialize',
<String, dynamic>{
'appAppOpenAdUnitId': appAppOpenAdUnitId,
'targetingInfo': targetingInfo?.toJson(),
},
);
}