getCurrentTaskState static method
Implementation
static Future<AiStateModel> getCurrentTaskState() {
return MooerAi.instance.aiConfig.post(MooerAi.instance.aiConfig.getCurrentTaskState(), data: {
"device": MooerAi.instance.aiConfig.aiHttpFlag(),
},showLoading: true).then((value) {
return AiStateModel.fromJson(value);
});
}