CloudResponse constructor
CloudResponse({
- Project? project,
- Iterable<
Project> ? projects, - String? accessToken,
- Organization? organization,
- Member? member,
- Iterable<
Member> ? members, - Iterable<
Organization> ? organizations,
Implementation
factory CloudResponse({
Project? project,
$core.Iterable<Project>? projects,
$core.String? accessToken,
Organization? organization,
Member? member,
$core.Iterable<Member>? members,
$core.Iterable<Organization>? organizations,
}) {
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);
}
return _result;
}