refresh method

Future<void> refresh()

Shows the refresh indicator and runs the refresh callback as if it had been started interactively.

Implementation

Future<void> refresh() {
  return _refreshIndicatorKey.currentState?.show() ?? Future.value();
}