sortBy method
setSortedBy
is used to set the sorting type.
SortBy{ name, type, date, size }
ie: controller.sortBy(SortBy.date)
Implementation
void sortBy(SortBy sortType) => _short.value = sortType;
setSortedBy
is used to set the sorting type.
SortBy{ name, type, date, size }
ie: controller.sortBy(SortBy.date)
void sortBy(SortBy sortType) => _short.value = sortType;