setConsentStatus method

Future<void> setConsentStatus(
  1. int value
)

Implementation

Future<void> setConsentStatus(int value) async {
  try {
    await instanceManager.channel
        .invokeMethod('setConsentStatus', <String, int>{'status': value});
  } on PlatformException catch (e) {
    VponLogger.e("invokeMethod('setConsentStatus') failed: '${e.message}'.");
  }
}