ToolKindThink.fromJson constructor

ToolKindThink.fromJson(
  1. Object? value
)

Implementation

factory ToolKindThink.fromJson(Object? value) {
  final decoded = ToolKind.fromJson(value);
  if (decoded is! ToolKindThink) {
    throw const AcpWireDecodeException('Expected ToolKindThink.');
  }
  return decoded;
}