getProfile method

Future<KuzzleProfile> getProfile(
  1. String id
)

Gets a security profile.

Implementation

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

  return KuzzleProfile.fromKuzzleResponse(kuzzle, response);
}