markdownPages property Null safety

List<Template> markdownPages

all Templates should be stored into the DocumentationModel.children This accessor gets all the Templates

Implementation

List<Template> get markdownPages => children.whereType<Template>().toList();