CloudRequest constructor

CloudRequest({
  1. Project? project,
  2. String? privateKey,
  3. String? accessToken,
  4. Organization? organization,
  5. String? nuntioHydraToken,
  6. Member? member,
  7. Iterable<Member>? members,
  8. Partner? partner,
  9. User? currentUser,
  10. Access? access,
  11. List<int>? file,
  12. App? app,
})

Implementation

factory CloudRequest({
  Project? project,
  $core.String? privateKey,
  $core.String? accessToken,
  Organization? organization,
  $core.String? nuntioHydraToken,
  Member? member,
  $core.Iterable<Member>? members,
  Partner? partner,
  $0.User? currentUser,
  Access? access,
  $core.List<$core.int>? file,
  $1.App? app,
}) {
  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 (nuntioHydraToken != null) {
    _result.nuntioHydraToken = nuntioHydraToken;
  }
  if (member != null) {
    _result.member = member;
  }
  if (members != null) {
    _result.members.addAll(members);
  }
  if (partner != null) {
    _result.partner = partner;
  }
  if (currentUser != null) {
    _result.currentUser = currentUser;
  }
  if (access != null) {
    _result.access = access;
  }
  if (file != null) {
    _result.file = file;
  }
  if (app != null) {
    _result.app = app;
  }
  return _result;
}