deleteUser method
Deletes a user and all their associate credentials.
Implementation
Future<Map<String, dynamic>> deleteUser(String id,
{bool? waitForRefresh}) async {
final response = await kuzzle.query(KuzzleRequest(
controller: name,
action: 'deleteUser',
uid: id,
waitForRefresh: waitForRefresh,
));
return response.result as Map<String, dynamic>;
}