App constructor
App({})
Implementation
factory App({
$core.String? id,
$core.String? name,
$core.String? password,
$core.String? email,
$core.String? organizationId,
$core.String? website,
$core.String? logo,
$core.String? terms,
Metadata? metadata,
$core.Iterable<$core.String>? callbacks,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
VerificationProviderType? defaultIdProvider,
$core.String? organizationName,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (name != null) {
_result.name = name;
}
if (password != null) {
_result.password = password;
}
if (email != null) {
_result.email = email;
}
if (organizationId != null) {
_result.organizationId = organizationId;
}
if (website != null) {
_result.website = website;
}
if (logo != null) {
_result.logo = logo;
}
if (terms != null) {
_result.terms = terms;
}
if (metadata != null) {
_result.metadata = metadata;
}
if (callbacks != null) {
_result.callbacks.addAll(callbacks);
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
if (defaultIdProvider != null) {
_result.defaultIdProvider = defaultIdProvider;
}
if (organizationName != null) {
_result.organizationName = organizationName;
}
return _result;
}