Register constructor
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const
Register(
{ - required String username,
- String? email,
- required String password,
- required String passwordVerify,
- required bool showNsfw,
- String? captchaUuid,
- String? captchaAnswer,
- String? honeypot,
- String? answer,
})
Implementation
@JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
const factory Register({
required String username,
String? email,
required String password,
required String passwordVerify,
required bool showNsfw,
String? captchaUuid,
String? captchaAnswer,
String? honeypot,
String? answer,
}) = _Register;