createAccount method
Implementation
Future<core.XRPCResponse<CreateAccountOutput>> createAccount({
required String handle,
required String email,
required String password,
String? inviteCode,
String? recoveryKey,
Map<String, dynamic>? plcOp,
}) async =>
await _ctx.post(
ns.comAtprotoServerCreateAccount,
body: {
'handle': handle,
'email': email,
'password': password,
'inviteCode': inviteCode,
'recoveryKey': recoveryKey,
'plcOp': plcOp,
},
to: CreateAccountOutput.fromJson,
);