PushDeviceMessageDel method

Future<commonResp> PushDeviceMessageDel(
  1. String message_id
)

裝置端刪除多筆或是單筆訊息

Implementation

Future<commonResp> PushDeviceMessageDel(String message_id) {
  Map<String,dynamic> postdata = {
    "domain_key": Globals.domain_key,
    "message_id": message_id
  };

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