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