PlatformUtils constructor Null safety

PlatformUtils()