CloudRequest constructor

CloudRequest({
  1. Project? project,
  2. String? privateKey,
  3. String? accessToken,
  4. Organization? organization,
  5. String? cloudToken,
  6. Member? member,
  7. Iterable<Member>? members,
})

Implementation

factory CloudRequest({
  Project? project,
  $core.String? privateKey,
  $core.String? accessToken,
  Organization? organization,
  $core.String? cloudToken,
  Member? member,
  $core.Iterable<Member>? members,
}) {
  final _result = create();
  if (project != null) {
    _result.project = project;
  }
  if (privateKey != null) {
    _result.privateKey = privateKey;
  }
  if (accessToken != null) {
    _result.accessToken = accessToken;
  }
  if (organization != null) {
    _result.organization = organization;
  }
  if (cloudToken != null) {
    _result.cloudToken = cloudToken;
  }
  if (member != null) {
    _result.member = member;
  }
  if (members != null) {
    _result.members.addAll(members);
  }
  return _result;
}