DocumentRepository constructor Null safety

DocumentRepository()