dispose method

  1. @override
void dispose()

Implementation

@override
void dispose() {
  state?.dispose();
  state = null;
}