comAtprotoServerRequestEmailUpdate function

Future<XRPCResponse<ServerRequestEmailUpdateOutput>> comAtprotoServerRequestEmailUpdate({
  1. required ServiceContext $ctx,
  2. Map<String, String>? $headers,
})

Request a token in order to update email.

Implementation

Future<XRPCResponse<ServerRequestEmailUpdateOutput>>
comAtprotoServerRequestEmailUpdate({
  required ServiceContext $ctx,
  Map<String, String>? $headers,
}) async => await $ctx.post(
  ns.comAtprotoServerRequestEmailUpdate,
  headers: {...?$headers},
  to: const ServerRequestEmailUpdateOutputConverter().fromJson,
);