canRequestAds method

Future<bool> canRequestAds()

Check if ads can be requested

Implementation

Future<bool> canRequestAds() async {
  try {
    final result =
        await _methodChannel.invokeMethod<bool>(AdropMethod.canRequestAds);
    return result ?? false;
  } catch (e) {
    log('Error checking canRequestAds: $e', name: 'AdropConsentManager');
    return false;
  }
}