addSortByInternal<NS> method

QueryBuilder<OBJ, R, NS> addSortByInternal<NS>(
  1. String propertyName,
  2. Sort sort
)

Implementation

QueryBuilder<OBJ, R, NS> addSortByInternal<NS>(
    String propertyName, Sort sort) {
  return copyWith(sortByProperties: [
    ..._sortByProperties,
    SortProperty(property: propertyName, sort: sort),
  ]);
}