orderedPageSources property

List<String> orderedPageSources
latefinal

The pages written in the notation in the order shown: the manifest's order, then the others with home first and the rest by name (the whole order of a site with no manifest, or one that lists no pages).

Implementation

late final List<String> orderedPageSources = () {
  final byName = {for (final p in pageSources) _stem(p): p};
  return [
    for (final s in listedScreens) ?byName.remove(s),
    for (final s in notationPageOrder(byName.keys.toList())) byName[s]!,
  ];
}();