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