setCCPAPrivacyString static method
Set CCPA privacy string (e.g., "1YNN")
California Consumer Privacy Act compliance. Format: "1" + version + opt-out-sale + opt-out-sharing + limited-service-provider
Example: "1YNN" = version 1, opted out of sale, not opted out of sharing, not LSP
Implementation
static Future<void> setCCPAPrivacyString(String? ccpaString) async {
await _invokeMethod('setCCPAPrivacyString', {'ccpaString': ccpaString});
}