StudySubject.fromStudy constructor
StudySubject.fromStudy()
Implementation
StudySubject.fromStudy(this.study, this.userId, this.selectedInterventionIds, this.inviteCode)
: id = const Uuid().v4(),
studyId = study.id;