\(\left\{{}\begin{matrix}f\left(0\right)=2017\\f\left(1\right)=2018\\f\left(-1\right)=2019\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}c=2017\\a+b+c=2018\\a-b+c=2019\end{matrix}\right.\)
\(\Rightarrow\left\{{}\begin{matrix}a+b=1\\a-b=2\\c=2017\end{matrix}\right.\) \(\Rightarrow\left\{{}\begin{matrix}a=\frac{3}{2}\\b=-\frac{1}{2}\\c=2017\end{matrix}\right.\)
\(\Rightarrow f\left(2\right)=\frac{3}{2}\cdot2^2-\frac{1}{2}\cdot2+2017\)
\(\Rightarrow f\left(2\right)=6-1+2017=2022\)