Config constructor
Config({
- String? id,
- String? name,
- String? logo,
- bool? enableNuntioConnect,
- bool? disableDefaultSignup,
- bool? disableDefaultLogin,
- Timestamp? createdAt,
- Timestamp? updatedAt,
- bool? validatePassword,
- String? nuntioConnectId,
- bool? requireEmailVerification,
- LoginType? loginType,
- bool? requirePhoneNumberVerification,
- Iterable<
LanguageCode> ? availableLanguages, - Iterable<
LanguageCode> ? supportedLanguages,
Implementation
factory Config({
$core.String? id,
$core.String? name,
$core.String? logo,
$core.bool? enableNuntioConnect,
$core.bool? disableDefaultSignup,
$core.bool? disableDefaultLogin,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
$core.bool? validatePassword,
$core.String? nuntioConnectId,
$core.bool? requireEmailVerification,
LoginType? loginType,
$core.bool? requirePhoneNumberVerification,
$core.Iterable<LanguageCode>? availableLanguages,
$core.Iterable<LanguageCode>? supportedLanguages,
}) {
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 (validatePassword != null) {
_result.validatePassword = validatePassword;
}
if (nuntioConnectId != null) {
_result.nuntioConnectId = nuntioConnectId;
}
if (requireEmailVerification != null) {
_result.requireEmailVerification = requireEmailVerification;
}
if (loginType != null) {
_result.loginType = loginType;
}
if (requirePhoneNumberVerification != null) {
_result.requirePhoneNumberVerification = requirePhoneNumberVerification;
}
if (availableLanguages != null) {
_result.availableLanguages.addAll(availableLanguages);
}
if (supportedLanguages != null) {
_result.supportedLanguages.addAll(supportedLanguages);
}
return _result;
}