ConsentGranted class
ConsentGranted event
- Implemented types
- Annotations
Constructors
-
ConsentGranted({required String documentId, required String documentVersion, required String expiry, String? documentName, String? documentDescription, List<
ConsentDocument> consentDocuments = const [], Set<SelfDescribingJson> contexts = const {}}) - Create a ConsentGranted event
Properties
-
consentDocuments
→ List<
ConsentDocument> -
consentDocuments An array of associated consent documents.
final
-
contexts
→ Set<
SelfDescribingJson> -
contexts Attached custom contexts
final
- documentDescription → String?
-
documentDescription The associated consent document description.
final
- documentId → String
-
documentId The associated consent document ID.
final
- documentName → String?
-
documentName The associated consent document name.
final
- documentVersion → String
-
documentVersion The associated consent document version.
final
- expiry → String
-
expiry The associated consent document expiry.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
attach(
{required Set< SelfDescribingJson> contexts}) → ConsentGranted -
attach Attaches additional contexts to the event
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, Object?> -
Converts the event object to JSON.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override