createPages method Null safety
- List<
Destination> history
The method creates a list of db pages based on a list of destinations. Note the resulting list of pages only contains the pages with destination supported by the list of page builders.
Implementation
@visibleForTesting
Future<List<DBPage>> createPages(final List<Destination> history) async {
final List<Destination> filteredHistory = filterHistory(history);
return buildStack(filteredHistory);
}