from static method
Implementation
static BiologicalSex? from(String? description) {
switch (description) {
case 'na':
return BiologicalSex.notSet;
case 'Female':
return BiologicalSex.female;
case 'Male':
return BiologicalSex.male;
case 'Other':
return BiologicalSex.other;
default:
return null;
}
}