setDebugSettings method

Future<void> setDebugSettings(
  1. AdropConsentDebugGeography geography
)

Set debug settings for testing consent flows

geography Test geography setting

Implementation

Future<void> setDebugSettings(AdropConsentDebugGeography geography) async {
  try {
    await _methodChannel.invokeMethod(AdropMethod.setConsentDebugSettings, {
      'geography': geography.value,
    });
  } catch (e) {
    log('Error setting debug settings: $e', name: 'AdropConsentManager');
  }
}