SphereGenerator constructor Null safety

SphereGenerator()