deleteAccount method

Future<void> deleteAccount({
  1. required String email,
})

Deletes an account from the Instantly API.

Implementation

Future<void> deleteAccount({
  required String email,
}) async {
  await _dio.post<void>(
    '/account/delete',
    data: {'email': email},
  );
}