ExpectedParticipantData class
Describes a participant attribute that pertains to all or specified participants in a study.
Added to a protocol with StudyProtocol.addExpectedParticipantData.
The values are set and read via a ParticipationService.
- Annotations
-
- @JsonSerializable.new(includeIfNull: false, explicitToJson: true)
Constructors
- ExpectedParticipantData({required ParticipantAttribute? attribute, AssignedTo? assignedTo})
-
ExpectedParticipantData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assignedTo ↔ AssignedTo
-
Determines whether the attribute can be set by all participants in the study
(one field for all), or an individual attribute can be set by each of
the specified AssignedTo.roleNames (one field per role).
Defaults to AssignedTo.all.
getter/setter pair
- attribute ↔ ParticipantAttribute?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited