isAutoCacheEnabled static method

Future<bool> isAutoCacheEnabled(
  1. int adType
)

Check if auto cache enabled for adType

Returns true if auto cache enabled, otherwise false.

Implementation

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