sendPasswordResetEmail method
- {required String email}
Sends a password reset email.
email The email address.
Sends reset link to the email.
Returns a Future that completes when email is sent.
Throws FusabaseAuthException on failure.
Example:
await auth.sendPasswordResetEmail(email: 'user@example.com');
Implementation
Future<void> sendPasswordResetEmail({required String email}) async {
await _initFuture;
await _authHelper.sendPasswordResetEmailHelper(
client: createClient(app),
email: email,
);
}