loadNext method

Future loadNext({
  1. NsgDataRequestParams? filter,
})

Implementation

Future loadNext({NsgDataRequestParams? filter}) async {
  status = GetStatus.loading();
  sendNotify();
  if (items.length + 1 < (totalCount ?? 1000)) {
    items.addAll(await _loadItems(items.length, loadStepCountUi, filter: filter));
  }
  status = GetStatus.success(NsgBaseController.emptyData);
  sendNotify();
}