sendVerificationEmail method
Resends the sign-up verification email to the user with the specified
email
.
Implementation
@override
Future<void> sendVerificationEmail({
required String email,
String? redirectTo,
}) async {
await _apiClient.post<void>(
'/user/email/send-verification-email',
jsonBody: {
'email': email,
if (redirectTo != null)
'options': {
'redirectTo': redirectTo,
},
},
headers: _session.authenticationHeaders,
);
}