Skip to content

RPDataTypeSection

Class representing a specific data type being collected to be shown as part of informed consent.

Inheritance
Annotations

Constructors

RPDataTypeSection.fromJson

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

RPDataTypeSection

RPDataTypeSection({
  1. required String dataName,
  2. required String dataInformation,
})

Properties

dataInformation

String dataInformation
getter/setter pair

Detailed information on the type of data being collected.

dataName

String dataName
getter/setter pair

The name of the data being collected.

fromJsonFunction

Function get fromJsonFunction
override

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

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.