Study class
- Inheritance
-
- Object
- SupabaseObjectFunctions<
Study> - Study
- Implemented types
- Annotations
-
- @JsonSerializable()
Constructors
- Study(String id, String userId)
-
Study.fromJson(Map<
String, dynamic> json) -
factory
- Study.withId(String userId)
Properties
- activeSubjectCount ↔ int
-
getter/setter pair
-
collaboratorEmails
↔ List<
String> -
getter/setter pair
-
consent
↔ List<
ConsentItem> -
getter/setter pair
- contact ↔ Contact
-
getter/setter pair
- createdAt ↔ DateTime?
-
getter/setter pair
- description ↔ String?
-
getter/setter pair
-
eligibilityCriteria
↔ List<
EligibilityCriterion> -
getter/setter pair
- endedCount ↔ int
-
getter/setter pair
- hasConsentCheck → bool
-
no setter
- hasEligibilityCheck → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- iconName ↔ String
-
getter/setter pair
- id ↔ String
-
getter/setter pair
-
interventions
↔ List<
Intervention> -
getter/setter pair
-
invites
↔ List<
StudyInvite> ? -
getter/setter pair
- isClosed → bool
-
no setter
- isDraft → bool
-
no setter
- isRunning → bool
-
no setter
-
missedDays
↔ List<
int> -
getter/setter pair
-
observations
↔ List<
Observation> -
getter/setter pair
- participantCount ↔ int
-
getter/setter pair
-
participants
↔ List<
StudySubject> ? -
getter/setter pair
-
participantsProgress
↔ List<
SubjectProgress> ? -
getter/setter pair
- participation ↔ Participation
-
getter/setter pair
- percentageMissedDays → double
-
no setter
-
primaryKeys
→ Map<
String, Object> -
no setteroverride
- published ↔ bool
-
getter/setter pair
- questionnaire ↔ StudyUQuestionnaire
-
getter/setter pair
- registryPublished ↔ bool
-
getter/setter pair
- repo ↔ Repo?
-
getter/setter pair
- reportSpecification ↔ ReportSpecification
-
getter/setter pair
-
results
↔ List<
StudyResult> -
getter/setter pair
- resultSharing ↔ ResultSharing
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schedule ↔ StudySchedule
-
getter/setter pair
- status → StudyStatus
-
no setter
- title ↔ String?
-
getter/setter pair
- totalMissedDays → int
-
no setter
- userId ↔ String
-
getter/setter pair
Methods
-
canEdit(
User? user) → bool -
compareTo(
Study other) → int -
Compares this object to another object.
override
-
delete(
) → Future< Study> -
inherited
-
isEditor(
User? user) → bool -
isOwner(
User? user) → bool -
isReadonly(
User user) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< Study> -
inherited
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fetchResultsCSVTable(
String studyId) → Future< String> -
getResearcherDashboardStudies(
) → Future< List< Study> > -
publishedPublicStudies(
) → Future< ExtractionResult< Study> >
Constants
- baselineID → const String
- tableName → const String