listUser method

Future<Response> listUser(
  1. String id,
  2. String jwt
)

Lists a user in the users services and returns Future<http.Response>

Implementation

Future<http.Response> listUser(String id, String jwt) {
  var url = wsURL + 'list' + '/' + id;
  print(url);
  return http.get(Uri.parse(url),
      headers: {HttpHeaders.authorizationHeader: 'Bearer ' + jwt});
}