Factory constructor Null safety

Factory()