setModel method
设置设备模式
Implementation
setModel(String deviceId, DeviceModel model) async {
return await methodChannel
.invokeMethod("setModel", {"deviceId": deviceId, "model": model.name});
}
设置设备模式
setModel(String deviceId, DeviceModel model) async {
return await methodChannel
.invokeMethod("setModel", {"deviceId": deviceId, "model": model.name});
}