getUserRights method
Gets the detailed rights granted to a user.
Implementation
Future<List<dynamic>> getUserRights(String id) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'getUserRights',
uid: id,
));
return response.result['hits'] as List<dynamic>;
}