updateUi method

  1. @protected
void updateUi(
  1. Function block
)

Executes the block and then notify the listeners of this ChangeNotifier

Implementation

@protected
void updateUi(Function block) {
  block();
  notifyListeners();
}