comAtprotoServerRequestEmailUpdate function

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

Request a token in order to update email.

Implementation

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