LocationBase constructor Null safety

LocationBase()