Skip to content

RPConsentSignatureResult

Represents a signature applied to a given consent document. It indicates if a given consent document has been signed by a user.

Inheritance
Annotations

Constructors

RPConsentSignatureResult.fromJson

RPConsentSignatureResult.fromJson(
  1. Map<String, dynamic> json
)

RPConsentSignatureResult

RPConsentSignatureResult({
  1. required String identifier,
  2. required RPConsentDocument consentDocument,
  3. RPSignatureResult? signature,
})

Create a RPConsentSignatureResult.

Properties

consentDocument

RPConsentDocument consentDocument
getter/setter pair

The linked Consent Document which the user signed

fromJsonFunction

Function get fromJsonFunction
override

The function which can convert a JSON string to an object of this type.

signature

RPSignatureResult? signature
getter/setter pair

The signature which contains the name and signature image

signingDate

DateTime? get signingDate

The time when the document was signed

userId

String? userId
getter/setter pair

the ID of the user which signed the document

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.