toCodeRepositorySortOrder method

CodeRepositorySortOrder toCodeRepositorySortOrder()

Implementation

CodeRepositorySortOrder toCodeRepositorySortOrder() {
  switch (this) {
    case 'Ascending':
      return CodeRepositorySortOrder.ascending;
    case 'Descending':
      return CodeRepositorySortOrder.descending;
  }
  throw Exception('$this is not known in enum CodeRepositorySortOrder');
}