getUCPurposeConsent static method
Returns the consent status for the given UC Purpose; 0 = consent not given, 1 = consent given, -1 = invalid Purpose.
Implementation
static Future<int> getUCPurposeConsent(String purposeID) async {
final int status = await _channel
.invokeMethod('getUCPurposeConsent', {'forPurpose': purposeID});
return status;
}