resetPassword method
Reset a user account password using a token.
https://atprotodart.com/docs/lexicons/com/atproto/server/resetPassword
Implementation
Future<XRPCResponse<EmptyData>> resetPassword({
required String token,
required String password,
Map<String, String>? $unknown,
Map<String, String>? $headers,
PostClient? $client,
}) async =>
await _ctx.post<EmptyData>(
ns.comAtprotoServerResetPassword,
headers: $headers,
body: {
'token': token,
'password': password,
...?$unknown,
},
client: $client,
);