Skip to content

CreateStudyDeployment

A request for creating a deployment based on the protocol.

Inheritance
Annotations

Constructors

CreateStudyDeployment.fromJson

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

CreateStudyDeployment

CreateStudyDeployment(
  1. StudyProtocol protocol,
  2. List<ParticipantInvitation> invitations, [
  3. Map<String, DeviceRegistration>? connectedDevicePreregistrations
])

Properties

connectedDevicePreregistrations

Map<String, DeviceRegistration>? connectedDevicePreregistrations
getter/setter pair

fromJsonFunction

Function get fromJsonFunction
override

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

invitations

List<ParticipantInvitation> invitations
getter/setter pair

protocol

StudyProtocol protocol
getter/setter pair

studyDeploymentId

  1. @override
  2. @JsonKey(includeFromJson: false, includeToJson: false)
String? studyDeploymentId
getter/setter pairoverride

The CARP study deployment ID.

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.