ConsentWithdrawn class Adding data to your events Tracking events

Event to track a user withdrawing consent for data collection.

A consent document context will be attached to the event using the id and version arguments supplied. To specify that a user opts out of all data collection, all should be set to true.

Implemented types
Annotations

Constructors

ConsentWithdrawn({required bool all, required String documentId, required String version, String? name, String? documentDescription})
const

Properties

all bool
Whether user opts out of all data collection.
final
documentDescription String?
Optional consent document description.
final
documentId String
The consent document ID.
final
hashCode int
The hash code for this object.
no setterinherited
name String?
Optional consent document name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String
The consent document version.
final

Methods

endpoint() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, Object?>
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited