refresh method

  1. @override
void refresh()
override

Allows the user to call setState() within the Controller.

Implementation

@override
void refresh() {
  if (mounted) {
    super.refresh();
    App.refresh();
  }
}