ClientMetadata constructor
ClientMetadata({})
Implementation
factory ClientMetadata({
$core.bool? isOpen,
$core.String? about,
$core.String? userOwnerId,
$core.int? ageLowerLimit,
$core.int? ageUpperLimit,
$core.Iterable<CountryCode>? allowedCountries,
$core.Iterable<$core.String>? allowedEmails,
}) {
final _result = create();
if (isOpen != null) {
_result.isOpen = isOpen;
}
if (about != null) {
_result.about = about;
}
if (userOwnerId != null) {
_result.userOwnerId = userOwnerId;
}
if (ageLowerLimit != null) {
_result.ageLowerLimit = ageLowerLimit;
}
if (ageUpperLimit != null) {
_result.ageUpperLimit = ageUpperLimit;
}
if (allowedCountries != null) {
_result.allowedCountries.addAll(allowedCountries);
}
if (allowedEmails != null) {
_result.allowedEmails.addAll(allowedEmails);
}
return _result;
}