setStateIfNotDispose method

void setStateIfNotDispose()

Implementation

void setStateIfNotDispose() {
  if (mounted) {
    setState(() {});
  }
}