isPrecache static method

Future<bool> isPrecache(
  1. int adType
)

Check if loaded ad is precache for adType

Returns true if currently loaded ads is precache, otherwise false.

Implementation

static Future<bool> isPrecache(int adType) async {
  return await _channel.invokeMethod('isPrecache', {'adType': adType}) ??
      false;
}