ConsentConfig class
Consent service configuration
Constructors
- ConsentConfig({String? consentServiceUrl, String? appId, @Deprecated('An API key must never ship in an app bundle; consent calls ' 'are signed with the device identity. Will be removed in a future release.') String? appApiKey, String? deviceId, String? platform, String? userId, String? region})
Properties
- appApiKey → String?
-
App API key for consent service authentication.
final
- appId → String?
-
App ID for consent service
final
- consentServiceUrl → String
-
Base URL for consent service
final
- deviceId → String?
-
Device ID (UUID for this device, auto-generated if not provided)
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isConfigured → bool
-
Check if consent service is configured
no setter
- platform → String
-
Platform identifier ('ios', 'android', 'flutter')
final
- region → String?
-
Region code (e.g., 'US', 'EU')
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userId → String?
-
User ID (optional, for pseudonymous identification)
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited