documentedCategoriesSorted property

Iterable<Category> documentedCategoriesSorted

Implementation

Iterable<Category> get documentedCategoriesSorted {
  // Category display order is configurable; leave the category order
  // as defined if the order is specified.
  if (config.categoryOrder.isEmpty) {
    return documentedCategories;
  }
  return documentedCategories.toList()..sort(byName);
}