updateUser method
updates a user in the users services and returns Future<http.Response>
Implementation
Future<http.Response> updateUser(
String id, String name, String email, String password, String jwt) {
var url = wsURL + 'update';
return http.post(Uri.parse(url),
headers: {HttpHeaders.authorizationHeader: 'Bearer ' + jwt},
body: {'id': id, 'name': name, 'email': email, 'password': password});
}