getSessions method
Get User Sessions
Get the user sessions list by its unique ID.
Implementation
Future<Response> getSessions({@required String userId}) {
final String path = '/users/{userId}/sessions'.replaceAll(RegExp('{userId}'), userId);
final Map<String, dynamic> params = {
};
final Map<String, String> headers = {
'content-type': 'application/json',
};
return client.call(HttpMethod.get, path: path, params: params, headers: headers);
}