CloudResponse constructor
CloudResponse({})
Implementation
factory CloudResponse({
Project? project,
$core.Iterable<Project>? projects,
$core.String? accessToken,
Organization? organization,
Member? member,
$core.Iterable<Member>? members,
$core.Iterable<Organization>? organizations,
Partner? partner,
$core.Iterable<Partner>? partners,
$core.Map<$core.String, $core.String>? publicKeys,
$1.App? app,
$core.Iterable<$1.App>? apps,
}) {
final _result = create();
if (project != null) {
_result.project = project;
}
if (projects != null) {
_result.projects.addAll(projects);
}
if (accessToken != null) {
_result.accessToken = accessToken;
}
if (organization != null) {
_result.organization = organization;
}
if (member != null) {
_result.member = member;
}
if (members != null) {
_result.members.addAll(members);
}
if (organizations != null) {
_result.organizations.addAll(organizations);
}
if (partner != null) {
_result.partner = partner;
}
if (partners != null) {
_result.partners.addAll(partners);
}
if (publicKeys != null) {
_result.publicKeys.addAll(publicKeys);
}
if (app != null) {
_result.app = app;
}
if (apps != null) {
_result.apps.addAll(apps);
}
return _result;
}