CloudResponse constructor

CloudResponse({
  1. Project? project,
  2. Iterable<Project>? projects,
  3. String? accessToken,
  4. Organization? organization,
  5. Member? member,
  6. Iterable<Member>? members,
  7. 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;
}