Skip to content

StudyResponsible

A person who is responsible for a StudyProtocol. Typically the Principal Investigator (PI) who is responsible for the study.

Inheritance
Annotations

Constructors

StudyResponsible.fromJson

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

StudyResponsible

StudyResponsible({
  1. required String id,
  2. required String name,
  3. String? title,
  4. String? email,
  5. String? affiliation,
  6. String? address,
})

Properties

address

String? address
getter/setter pair

affiliation

String? affiliation
getter/setter pair

The institution this person belongs to.

email

String? email
getter/setter pair

fromJsonFunction

Function get fromJsonFunction
override

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

id

String id
getter/setter pair

A unique id of this person.

name

String name
getter/setter pair

title

String? title
getter/setter pair

The job title, e.g. "Professor".

Methods

toJson

Map<String, dynamic> toJson()
override

Return a JSON encoding of this object.

toString

String toString()
override

A string representation of this object.

Some classes have a default textual representation, often paired with a static parse function (like int.parse). These classes will provide the textual representation as their string representation.

Other classes have no meaningful textual representation that a program will care about. Such classes will typically override toString to provide useful information when inspecting the object, mainly for debugging or logging.