toThreadsSortOrder method
Implementation
ThreadsSortOrder toThreadsSortOrder() {
switch (this) {
case FeedSortOrder.created:
return ThreadsSortOrder.created;
case FeedSortOrder.trending:
return ThreadsSortOrder.trending;
// ignore: no_default_cases
default:
throw const IllegalSortException();
}
}