V~

V will select the entire current line. ~ will swap the case of each character in the selected text.

Further Reading

:h :h V

More Gifs