toSortTrialsBy method
Implementation
SortTrialsBy toSortTrialsBy() {
switch (this) {
case 'Name':
return SortTrialsBy.name;
case 'CreationTime':
return SortTrialsBy.creationTime;
}
throw Exception('$this is not known in enum SortTrialsBy');
}