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