updateLocation method
Implementation
Future<void> updateLocation(double? latitude, double? longtitude) async {
//
var body =
json.encode({"lat": latitude, "lng": longtitude, "client": client});
// final initUrl = '$baseUrl/api/friend/nearby/update';
final initUrl = BytedeskUtils.getHostUri('/api/friend/nearby/update');
await httpClient.post(initUrl, headers: getHeaders(), body: body);
}