ServerCreateAccountInput constructor

  1. @JsonSerializable(includeIfNull: false)
const ServerCreateAccountInput({
  1. String? email,
  2. required String handle,
  3. String? did,
  4. String? inviteCode,
  5. String? verificationCode,
  6. String? verificationPhone,
  7. String? password,
  8. String? recoveryKey,
  9. Map<String, dynamic>? plcOp,
  10. Map<String, dynamic>? $unknown,
})

Implementation

@JsonSerializable(includeIfNull: false)
const factory ServerCreateAccountInput({
  String? email,

  /// Requested handle for the account.
  required String handle,

  /// Pre-existing atproto DID, being imported to a new account.
  String? did,
  String? inviteCode,
  String? verificationCode,
  String? verificationPhone,

  /// Initial account password. May need to meet instance-specific password strength requirements.
  String? password,

  /// DID PLC rotation key (aka, recovery key) to be included in PLC creation operation.
  String? recoveryKey,
  Map<String, dynamic>? plcOp,

  Map<String, dynamic>? $unknown,
}) = _ServerCreateAccountInput;