updatePurposeConsent static method
Used to programmatically update a user's consent for a specific category
updatePurposeConsent("C0002", true)
Implementation
static void updatePurposeConsent(String categoryId, bool consentValue) {
_channel.invokeMethod('updatePurposeConsent',
{'group': categoryId, 'consentValue': consentValue});
}