confirmEmail method

Future<XRPCResponse<EmptyData>> confirmEmail({
  1. required String email,
  2. required String token,
})

Implementation

Future<core.XRPCResponse<core.EmptyData>> confirmEmail({
  required String email,
  required String token,
}) async =>
    await _ctx.post(
      ns.comAtprotoServerConfirmEmail,
      body: {
        'email': email,
        'token': token,
      },
    );