toNotebookInstanceLifecycleConfigSortKey method

NotebookInstanceLifecycleConfigSortKey toNotebookInstanceLifecycleConfigSortKey()

Implementation

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