PushDeviceStatusQuery method

Future<statusQueryResp> PushDeviceStatusQuery({
  1. String is_private = "ALL",
})

設備推播開關查詢

Implementation

Future<statusQueryResp> PushDeviceStatusQuery({String is_private = "ALL"}) {
  Map<String,dynamic> postdata = {
    "is_private": is_private
  };

  return GWSend("PushDeviceStatusQuery", postdata: postdata).then((response) {
    return statusQueryResp.fromJson(jsonDecode(response.body.toString()));
  });
}