ConnectApp constructor
ConnectApp({
- String? id,
- String? name,
- String? password,
- String? contactEmail,
- String? ownerId,
- String? appWebsite,
- String? logoUrl,
- String? termsUrl,
- String? about,
- Iterable<
String> ? audience, - Iterable<
Scope> ? scopes, - Iterable<
GrantType> ? grants, - Iterable<
ResponeType> ? responses, - Iterable<
String> ? callbacks, - Timestamp? createdAt,
- Timestamp? updatedAt,
Implementation
factory ConnectApp({
$core.String? id,
$core.String? name,
$core.String? password,
$core.String? contactEmail,
$core.String? ownerId,
$core.String? appWebsite,
$core.String? logoUrl,
$core.String? termsUrl,
$core.String? about,
$core.Iterable<$core.String>? audience,
$core.Iterable<Scope>? scopes,
$core.Iterable<GrantType>? grants,
$core.Iterable<ResponeType>? responses,
$core.Iterable<$core.String>? callbacks,
$1.Timestamp? createdAt,
$1.Timestamp? updatedAt,
}) {
final _result = create();
if (id != null) {
_result.id = id;
}
if (name != null) {
_result.name = name;
}
if (password != null) {
_result.password = password;
}
if (contactEmail != null) {
_result.contactEmail = contactEmail;
}
if (ownerId != null) {
_result.ownerId = ownerId;
}
if (appWebsite != null) {
_result.appWebsite = appWebsite;
}
if (logoUrl != null) {
_result.logoUrl = logoUrl;
}
if (termsUrl != null) {
_result.termsUrl = termsUrl;
}
if (about != null) {
_result.about = about;
}
if (audience != null) {
_result.audience.addAll(audience);
}
if (scopes != null) {
_result.scopes.addAll(scopes);
}
if (grants != null) {
_result.grants.addAll(grants);
}
if (responses != null) {
_result.responses.addAll(responses);
}
if (callbacks != null) {
_result.callbacks.addAll(callbacks);
}
if (createdAt != null) {
_result.createdAt = createdAt;
}
if (updatedAt != null) {
_result.updatedAt = updatedAt;
}
return _result;
}