RPConsentSignature class

Class representing a signature in a consent document

Signatures can be collected during a RPConsentReviewStep.

The signature object has no concept of a cryptographic signature – it is merely a record of any input the user made during a consent review step. Also, the object does not verify or vouch for user identity.

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)

Constructors

RPConsentSignature()
RPConsentSignature.fromJson(Map<String, dynamic> json)
factory
RPConsentSignature.fullyPopulated(bool _requiresName, bool _requiresSignatureImage, bool _requiresBirthDate, String _identifier, String _title)
RPConsentSignature.withIdentifier(String identifier)
The default constructor. Returns a signature where both the name and the signature image is required

Properties

identifier String
Unique identifier of the signature. This identifies the signature in the result hierarchy. [...]
read / write
requiresBirthDate bool
Not implemented yet
read / write
requiresName bool
The parameter to decide if the signature requires name. [...]
read / write
requiresSignatureImage bool
The parameter to decide if the signature requires a signature image. [...]
read / write
title String
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

toJson() Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited