label property

String get label

Implementation

String get label {
  switch (this) {
    case SandboxMode.autoAllow:
      return 'Sandbox BashTool, with auto-allow';
    case SandboxMode.regular:
      return 'Sandbox BashTool, with regular permissions';
    case SandboxMode.disabled:
      return 'No Sandbox';
  }
}