const factory Document.template({ String name, String attachTo, required Component child, }) = _TemplateDocument;