refresh method Null safety

Future<void> refresh()

Implementation

Future<void> refresh() async {
  await _refresh();
  notifyListeners();
}