GeneralPlatform constructor Null safety

GeneralPlatform()