ClientResponseError.fromMap constructor
Implementation
factory ClientResponseError.fromMap(Map<Object?, Object?> value) {
final decoded = ClientResponse.fromMap(value);
if (decoded is! ClientResponseError) {
throw const AcpWireDecodeException('Expected ClientResponseError.');
}
return decoded;
}