updateSelf method

Future<KuzzleUser> updateSelf(
  1. Map<String, dynamic> body
)

Fetches the current user.

Implementation

Future<KuzzleUser> updateSelf(Map<String, dynamic> body) async {
  final response = await kuzzle.query(KuzzleRequest(
    controller: name,
    action: 'updateSelf',
    body: body,
  ));

  return KuzzleUser.fromKuzzleResponse(kuzzle, response);
}