onRefresh method

Future<void> onRefresh()

call onError when error

Implementation

Future<void> onRefresh() async => refresh();