BashToolInput.fromJson constructor

BashToolInput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory BashToolInput.fromJson(Map<String, dynamic> json) => BashToolInput(
  command: json['command'] as String,
  timeoutMs: json['timeout'] as int?,
  description: json['description'] as String?,
  runInBackground: json['run_in_background'] as bool? ?? false,
  dangerouslyDisableSandbox:
      json['dangerouslyDisableSandbox'] as bool? ?? false,
);