registerWith static method
Factory method that initializes the DeviceInfoPlus plugin platform with an instance of the plugin for the web.
Implementation
static void registerWith(Registrar registrar) {
DeviceInfoPlatform.instance = DeviceInfoPlusPlugin(html.window.navigator);
}