setAutoCache static method

Future<void> setAutoCache(
  1. int adType,
  2. bool autoCache
)

Set autoCache new ads when current ads was shown for adType.

Implementation

static Future<void> setAutoCache(int adType, bool autoCache) async {
  return await _channel.invokeMethod(
      'setAutoCache', {'adType': adType, 'autoCache': autoCache});
}