ConsentException class
Thrown when a consent operation is invalid, for example withdrawing a strictly necessary purpose or using an unknown purpose id.
- Implemented types
Constructors
- ConsentException(String message, {Object? cause})
-
Creates a ConsentException.
const
Properties
- cause → Object?
-
The underlying error that triggered this exception, if any.
finalinherited
- code → String
-
Stable, machine-readable error code, for example
invalid_audit_event.no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Developer-facing description of the failure. Never contains personal
data.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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