Magnetometer 构造函数
- [Map? sensorOptions]
实现
factory Magnetometer([Map? sensorOptions]) {
if (sensorOptions != null) {
var sensorOptions_1 = convertDartToNative_Dictionary(sensorOptions);
return Magnetometer._create_1(sensorOptions_1);
}
return Magnetometer._create_2();
}