ParticipationService class abstract
Application service which allows inviting participants, retrieving participation invitations for study deployments, and managing data related to participants which is input by users.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getActiveParticipationInvitations(
String accountId) → Future< List< ActiveParticipationInvitation> > -
Get all invitations of active study deployments the account
with the given
accountId
has been invited to. -
getParticipantData(
String studyDeploymentId) → Future< ParticipantData> -
Get currently set data for all expected participant data in the study
deployment with
studyDeploymentId
. Data which is not set equals null. -
getParticipantDataList(
List< String> studyDeploymentIds) → Future<List< ParticipantData> > -
Get currently set data for all expected participant data for a set of study
deployments with
studyDeploymentIds
. Data which is not set equals null. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setParticipantData(
String studyDeploymentId, Map< String, Data> data, [String? inputByParticipantRole]) → Future<ParticipantData> -
Set
data
that wasinputByParticipantRole
in the study deployment withstudyDeploymentId
. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- API_VERSION → const String