onRefresh method

void onRefresh(
  1. M model
)

Implementation

void onRefresh(M model) {
  model.refreshData();
}