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