refresh method
Implementation
refresh(Function(ValueNotifier<T> listener) function, {Function(Object err)? error}) async {
try {
await function(listener);
listener.notifyListeners();
} catch (_) {
if (error != null) {
error(_);
}
}
}