RPConsentSignature class Null safety

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.



RPConsentSignature({required String identifier, String? title, bool requiresName = true, bool requiresSignatureImage = true})
The default constructor. Returns a signature where both the name and the signature image is required
RPConsentSignature.fromJson(Map<String, dynamic> json)


$type String?
The runtime class name (type) of this object. Used for deserialization from JSON objects.
read / write, inherited
fromJsonFunction Function
The function which can convert a JSON string to an object of this type.
read-only, override
hashCode int
The hash code for this object. [...]
read-only, inherited
identifier String
Not implemented yet Unique identifier of the signature. This identifies the signature in the result hierarchy. [...]
read / write
jsonType String
Return the $type to be used for JSON serialization of this class. Default is runtimeType. Only specify this if you need another type.
read-only, inherited
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
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title String?
The title of the consent signature page
read / write


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


operator ==(Object other) bool
The equality operator. [...]