RPConsentReviewStep class Null safety

The step for presenting the consent document for review and collecting the signature

The RPConsentReviewStep is used for:

  • presenting the content of each section (RPConsentSection) of the consent document (RPConsentDocument) in a summarized form to the participant
  • collecting name (optional) and signature (optional)

The presence or type of the to be collected signature depends on the consentDocument's signature list.

Inheritance
Annotations

Constructors

RPConsentReviewStep({required String identifier, required RPConsentDocument consentDocument, String? reasonForConsent, String? text})
Returns an initialized Consent Review Step [...]
RPConsentReviewStep.fromJson(Map<String, dynamic> json)
factory

Properties

$type String?
The runtime class name (type) of this object. Used for deserialization from JSON objects.
read / write, inherited
consentDocument RPConsentDocument
The consent document to review and sign
read / write
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
A unique identifier of the Step. This identifier connects the Step to its result (RPResult) object.
final, inherited
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
optional bool
If set to true the step can be skipped. In that case the result for the step will be null.
read / write, inherited
reasonForConsent String?
The text in the confirmation popup (body)
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stepWidget Widget
The widget (UI representation) of the step [...]
@JsonKey(ignore: true), read-only, override
text String?
The text shown as the confirmation popup title
read / write, override
title String
The title text. Different types of Steps are using the title text differently. [...]
read / write, inherited

Methods

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

Operators

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