reload method

  1. @override
Future<void> reload()
override

Reload data and updates the data in the model.

It is basically the same as the load method, but combining it with loadOnce makes it easier to manage the data.

Implementation

@override
Future<void> reload() async {
  clear();
  return load();
}