toSpecialty method
Implementation
Specialty toSpecialty() {
switch (this) {
case 'PRIMARYCARE':
return Specialty.primarycare;
}
throw Exception('$this is not known in enum Specialty');
}
Specialty toSpecialty() {
switch (this) {
case 'PRIMARYCARE':
return Specialty.primarycare;
}
throw Exception('$this is not known in enum Specialty');
}