sendPasswordResetEmail method
Triggers the Shopify Authentication backend to send a password-reset email to the given email address, which must correspond to an existing user of your app.
Implementation
Future<void> sendPasswordResetEmail({
required String email,
}) async {
final MutationOptions _options = MutationOptions(
document: gql(customerRecoverMutation), variables: {'email': email});
final QueryResult result = await _graphQLClient!.mutate(_options);
checkForError(
result,
key: 'customerRecover',
errorKey: 'customerUserErrors',
);
}