refresh method

Future<void> refresh({
  1. bool currentDataset = true,
})

Refreshes the table fetching from source again. If currentDataset is true, it will only refresh the current viewing resultset, otherwise, it will start from page 1.

The future completes when the fetch is done.

Implementation

Future<void> refresh({bool currentDataset = true}) =>
    _state._refresh(initial: !currentDataset);