setEmail method

ResponseFuture<SetEmailResponse> setEmail(
  1. SetEmailRequest request, {
  2. CallOptions? options,
})

Change the user email

Change the email address of a user. If the state is set to not verified, a verification code will be generated, which can be either returned or sent to the user by email.

Deprecated: please move to the corresponding endpoint under user service v2 (GA).

Implementation

$grpc.ResponseFuture<$0.SetEmailResponse> setEmail(
  $0.SetEmailRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$setEmail, request, options: options);
}