sendResetPasswordEmail static method

Future<VerificationCode> sendResetPasswordEmail({
  1. required String email,
})

Implementation

static Future<VerificationCode> sendResetPasswordEmail({
  required String email,
}) async {
  User user = User()..contactInfo = UserContactInfo(email: email);
  HeraRequest req = HeraRequest()..namespace = _namespace;
  req.user = user;
  return (await _heraClient.sendResetPasswordEmail(req)).verificationCode;
}