update method

void update()

Implementation

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