PushDeviceMessageRead method

Future<commonResp> PushDeviceMessageRead(
  1. String message_id
)

裝置端多筆已讀

Implementation

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

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