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