load method
Requests an ad from Adrop using the Ad unit ID of the Adrop ad.
Implementation
Future<void> load() async {
assert(!_disposed,
'AdropNativeAd.load() called after dispose(). A disposed ad cannot be reused; create a new AdropNativeAd instance.');
if (_disposed) return;
return await _invokeChannel.invokeMethod(AdropMethod.loadAd, {
"adType": AdType.native.index,
"unitId": unitId,
"useCustomClick": useCustomClick,
"preferredAdChoicesPosition": preferredAdChoicesPosition.value,
"requestId": _requestId,
});
}