updateIOSDeviceToken method
Implementation
Future<void> updateIOSDeviceToken(
String appkey, String build, String deviceToken) async {
//
var body = json.encode({
"appkey": appkey,
"build": build,
"token": deviceToken,
"client": client
});
//
// final initUrl = '$baseUrl/api/push/update/token';
final initUrl = BytedeskUtils.getHostUri('/api/push/update/token');
await httpClient.post(initUrl, headers: getHeaders(), body: body);
}