refresh method

void refresh()

手动触发通知。

Implementation

void refresh() {
  _notifyListeners(id); // 这里的 notifyListeners 是继承自 ChangeNotifier 的
}