BrowserPlatform constructor Null safety

BrowserPlatform()