ServiceResolver constructor Null safety

ServiceResolver()