TargetPlatform constructor Null safety

const TargetPlatform()