Document constructor Null safety

Document(
  1. Doctype? doctype,
  2. Element root
)

Implementation

Document(this.doctype, this.root);