updateUser method
Updates a user definition.
Implementation
Future<KuzzleUser> updateUser(String id, Map<String, dynamic> body,
{bool? waitForRefresh}) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'updateUser',
uid: id,
waitForRefresh: waitForRefresh,
body: body,
));
return KuzzleUser.fromKuzzleResponse(kuzzle, response);
}