IFactory constructor Null safety

IFactory()