comAtprotoServerConfirmEmail function
Confirm an email using a token from com.atproto.server.requestEmailConfirmation.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoServerConfirmEmail({
  required String email,
  required String token,
  required ServiceContext $ctx,
  Map<String, String>? $headers,
  Map<String, String>? $unknown,
}) async => await $ctx.post(
  ns.comAtprotoServerConfirmEmail,
  headers: {'Content-type': 'application/json', ...?$headers},
  body: {...?$unknown, 'email': email, 'token': token},
);