type property

Implementation

TerminalContextType? get type => switch (_value('type')) {
      'boot' => TerminalContextType.boot,
      'container' => TerminalContextType.container,
      'vm' => TerminalContextType.vm,
      'elevate' => TerminalContextType.elevate,
      'chpriv' => TerminalContextType.chpriv,
      'subcontext' => TerminalContextType.subcontext,
      'remote' => TerminalContextType.remote,
      'shell' => TerminalContextType.shell,
      'command' => TerminalContextType.command,
      'app' => TerminalContextType.app,
      'service' => TerminalContextType.service,
      'session' => TerminalContextType.session,
      _ => null,
    };