ConsentArtifact class

Documentation of a user's consent.

Constructors

ConsentArtifact({List<Image>? consentContentScreenshots, String? consentContentVersion, Signature? guardianSignature, Map<String, String>? metadata, String? name, String? userId, Signature? userSignature, Signature? witnessSignature})
ConsentArtifact.fromJson(Map json_)

Properties

consentContentScreenshots List<Image>?
Screenshots, PDFs, or other binary information documenting the user's consent.
getter/setter pair
consentContentVersion String?
An string indicating the version of the consent information shown to the user.
getter/setter pair
guardianSignature Signature?
A signature from a guardian.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
metadata Map<String, String>?
Metadata associated with the Consent artifact.
getter/setter pair
name String?
Identifier.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String?
User's UUID provided by the client.
getter/setter pair
userSignature Signature?
User's signature.
getter/setter pair
witnessSignature Signature?
A signature from a witness.
getter/setter pair

Methods

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

Operators

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