description property
The description from studyDescription, or an empty string if none.
Implementation
String get description => studyDescription?.description ?? '';
Sets the description in studyDescription.
Creates a StudyDescription titled with name if there is none.
Implementation
@override
set description(String? description) {
if (studyDescription != null) {
studyDescription!.description = description;
} else {
studyDescription = StudyDescription(title: name, description: description);
}
}