appBskyUnspeccedInitAgeAssurance function
Initiate age assurance for an account. This is a one-time action that will start the process of verifying the user's age.
Implementation
Future<XRPCResponse<AgeAssuranceState>> appBskyUnspeccedInitAgeAssurance({
required String email,
required String language,
required String countryCode,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.post(
ns.appBskyUnspeccedInitAgeAssurance,
headers: {'Content-type': 'application/json', ...?$headers},
body: {
...?$unknown,
'email': email,
'language': language,
'countryCode': countryCode,
},
to: const AgeAssuranceStateConverter().fromJson,
);