toAppType method

AppType toAppType()

Implementation

AppType toAppType() {
  switch (this) {
    case 'JupyterServer':
      return AppType.jupyterServer;
    case 'KernelGateway':
      return AppType.kernelGateway;
    case 'TensorBoard':
      return AppType.tensorBoard;
  }
  throw Exception('$this is not known in enum AppType');
}