dispose method

  1. @override
void dispose()
override

This function cleans up properties of this controller before garbage collection happens.