StudyProtocol constructor
Create a new protocol. ownerId
and name
must be specified.
Implementation
StudyProtocol({
required this.ownerId,
required this.name,
this.description = '',
}) : super() {
creationDate = DateTime.now().toUtc();
}