Document constructor Null safety

Document()