Magnetometer constructor
- Map? sensorOptions
Implementation
factory Magnetometer([Map? sensorOptions]) {
if (sensorOptions != null) {
var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
return Magnetometer._create_1(sensorOptions_1);
}
return Magnetometer._create_2();
}