getRole method
Gets a security role.
Implementation
Future<KuzzleRole> getRole(String id) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'getRole',
uid: id,
));
return KuzzleRole.fromKuzzleResponse(kuzzle, response);
}