registerWith static method
Factory method that initializes the Sensors plugin platform with an instance of the plugin for the web.
Implementation
static void registerWith(Registrar registrar) {
SensorsPlatform.instance = SensorsPlugin();
}
Factory method that initializes the Sensors plugin platform with an instance of the plugin for the web.
static void registerWith(Registrar registrar) {
SensorsPlatform.instance = SensorsPlugin();
}