resendEmailVerification method

Future<void> resendEmailVerification(
  1. String email
)

Resends the email verification for the provided email.

Implementation

Future<void> resendEmailVerification(String email) async {
  try {
    await _authDataService.resendEmailVerification(email);
  } catch (e) {
    if (e is RdevException) {
      throw AuthServiceException(
        code: e.code,
        message: e.message,
        stackTrace: e.stackTrace,
      );
    }
    throw AuthServiceException(
      stackTrace: StackTrace.current,
      message: e.toString(),
    );
  }
}