PushDeviceUnReadCount method

Future<unReadCountResp> PushDeviceUnReadCount({
  1. String is_private = "ALL",
})

設備訊息未讀筆數查詢

Implementation

Future<unReadCountResp> PushDeviceUnReadCount({String is_private = "ALL"}) {
  Map<String,dynamic> postdata = {
    "is_private": is_private,
    "domain_key": Globals.domain_key
  };

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