copyWith method
Implementation
ClientResponseError copyWith({
Object? id = _acpCopyWithAbsent,
Object? error = _acpCopyWithAbsent,
}) => ClientResponseError(
id: identical(id, _acpCopyWithAbsent) ? this.id : id as RequestId,
error: identical(error, _acpCopyWithAbsent)
? this.error
: error as AcpError,
);