deleteUser method

  1. @override
Future<void> deleteUser(
  1. String token, {
  2. String? id,
})
override

Deletes a user.

If id is not provided, the user associated with the token is deleted.

Implementation

@override
Future<void> deleteUser(String token, {String? id}) => _api.callFunction(
      function: 'local_lbplanner_user_delete_user',
      token: token,
      body: {},
    );