RPConsentSection class
A content section in a RPConsentDocument.
It represents one section in a RPConsentDocument.
- Annotations
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- RPConsentSection()
-
RPConsentSection.fromJson(Map<
String, dynamic> json) -
factory
- RPConsentSection.withParams(RPConsentSectionType type)
-
Returns a populated object with the given
type
. [...]
Properties
- content ↔ String
-
A longer content text of the section. [...]
read / write
- formalTitle → String
-
read-only
- summary ↔ String
-
A short summary of the section. It appears during RPVisualConsentStep
read / write
- title ↔ String
-
The title of the consent section which appears both in RPVisualConsentStep and RPConsentReviewStep.
read / write
- type ↔ RPConsentSectionType
-
The type of the section. [...]
read / write
- 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