sortModel property

SortModel? get sortModel

The current sort model of the table

Implementation

SortModel? get sortModel => _currentSortModel;
set sortModel (SortModel? sortModel)

Updates the sort model and refreshes the dataset

Implementation

set sortModel(SortModel? sortModel) {
  _currentSortModel = sortModel;
  refresh(fromStart: true);
  notifyListeners();
}