Config constructor
Config({
- LanguageCode? id,
- String? name,
- String? logo,
- bool? enableNuntioConnect,
- bool? disableDefaultSignup,
- bool? disableDefaultLogin,
- Timestamp? createdAt,
- Timestamp? updatedAt,
- GeneralText? generalText,
- WelcomeText? welcomeText,
- LoginText? loginText,
- RegisterText? registerText,
- int? internalEncryptionLevel,
- bool? validatePassword,
- String? nuntioConnectId,
- bool? requireEmailVerification,
- ProfileText? profileText,
- LoginType? loginType,
- bool? requirePhoneNumberVerification,
- Iterable<
LanguageCode> ? availableLanguages,
Implementation
factory Config({
LanguageCode? id,
$core.String? name,
$core.String? logo,
$core.bool? enableNuntioConnect,
$core.bool? disableDefaultSignup,
$core.bool? disableDefaultLogin,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
GeneralText? generalText,
WelcomeText? welcomeText,
LoginText? loginText,
RegisterText? registerText,
$core.int? internalEncryptionLevel,
$core.bool? validatePassword,
$core.String? nuntioConnectId,
$core.bool? requireEmailVerification,
ProfileText? profileText,
LoginType? loginType,
$core.bool? requirePhoneNumberVerification,
$core.Iterable<LanguageCode>? availableLanguages,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (name != null) {
_result.name = name;
}
if (logo != null) {
_result.logo = logo;
}
if (enableNuntioConnect != null) {
_result.enableNuntioConnect = enableNuntioConnect;
}
if (disableDefaultSignup != null) {
_result.disableDefaultSignup = disableDefaultSignup;
}
if (disableDefaultLogin != null) {
_result.disableDefaultLogin = disableDefaultLogin;
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (generalText != null) {
_result.generalText = generalText;
}
if (welcomeText != null) {
_result.welcomeText = welcomeText;
}
if (loginText != null) {
_result.loginText = loginText;
}
if (registerText != null) {
_result.registerText = registerText;
}
if (internalEncryptionLevel != null) {
_result.internalEncryptionLevel = internalEncryptionLevel;
}
if (validatePassword != null) {
_result.validatePassword = validatePassword;
}
if (nuntioConnectId != null) {
_result.nuntioConnectId = nuntioConnectId;
}
if (requireEmailVerification != null) {
_result.requireEmailVerification = requireEmailVerification;
}
if (profileText != null) {
_result.profileText = profileText;
}
if (loginType != null) {
_result.loginType = loginType;
}
if (requirePhoneNumberVerification != null) {
_result.requirePhoneNumberVerification = requirePhoneNumberVerification;
}
if (availableLanguages != null) {
_result.availableLanguages.addAll(availableLanguages);
}
return _result;
}