If \( A \) denotes the sum of all the coefficients in the expansion of \( (1-3x+10x^{2})^{n} \) and \( B \) denotes the sum of all the coefficients in the expansion of \( (1+x^{2})^{n} \), then:
\( A=B^{3} \)
\( A=3B \)
\( B=A^{3} \)
\( 3A=B \)