getUser method

Future<KuzzleUser> getUser(
  1. String id
)

Gets a security role.

Implementation

Future<KuzzleUser> getUser(String id) async {
  final response = await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'getUser',
    uid: id,
  ));

  return KuzzleUser.fromKuzzleResponse(kuzzle, response);
}