deleteUser method

Future<void> deleteUser()

Deletes the user account from the SDK.

This is different from logout which clears local data — this deletes the user on the backend.

Note: Only supported on iOS.

Implementation

Future<void> deleteUser() async {
  return await _Methods.deleteUser.invoke();
}