orderBy method

dynamic orderBy({
  1. required String attribute,
  2. required SortOrder order,
})

Implementation

orderBy({required String attribute, required SortOrder order}) {
  this.sortOrder[attribute] = order;
  return this;
}