updateModel method

void updateModel (
  1. dynamic model
)

Implementation

void updateModel(model) {
  _model = model;
  notifyListeners();
}