NuntioResponse constructor

NuntioResponse({
  1. String? kubeConfig,
  2. Project? project,
  3. Iterable<Project>? projects,
  4. Iterable<Member>? members,
  5. String? publicKey,
  6. String? namespace,
  7. String? accessToken,
  8. Member? member,
  9. Folder? folder,
  10. File? file,
  11. Collection? collection,
  12. Iterable<TextProviderType>? availableTextProviders,
  13. Iterable<EmailProviderType>? availableEmailProviders,
  14. User? currentUser,
  15. Document? document,
  16. Iterable<Document>? documents,
  17. String? insertedId,
  18. Iterable<String>? insertedIds,
  19. Iterable<Collection>? collections,
  20. Iterable<Index>? indexes,
  21. Function_? function,
  22. Iterable<Function_>? functions,
})

Implementation

factory NuntioResponse({
  $core.String? kubeConfig,
  Project? project,
  $core.Iterable<Project>? projects,
  $core.Iterable<Member>? members,
  $core.String? publicKey,
  $core.String? namespace,
  $core.String? accessToken,
  Member? member,
  Folder? folder,
  File? file,
  $3.Collection? collection,
  $core.Iterable<TextProviderType>? availableTextProviders,
  $core.Iterable<EmailProviderType>? availableEmailProviders,
  $0.User? currentUser,
  $3.Document? document,
  $core.Iterable<$3.Document>? documents,
  $core.String? insertedId,
  $core.Iterable<$core.String>? insertedIds,
  $core.Iterable<$3.Collection>? collections,
  $core.Iterable<$3.Index>? indexes,
  Function_? function,
  $core.Iterable<Function_>? functions,
}) {
  final _result = create();
  if (kubeConfig != null) {
    _result.kubeConfig = kubeConfig;
  }
  if (project != null) {
    _result.project = project;
  }
  if (projects != null) {
    _result.projects.addAll(projects);
  }
  if (members != null) {
    _result.members.addAll(members);
  }
  if (publicKey != null) {
    _result.publicKey = publicKey;
  }
  if (namespace != null) {
    _result.namespace = namespace;
  }
  if (accessToken != null) {
    _result.accessToken = accessToken;
  }
  if (member != null) {
    _result.member = member;
  }
  if (folder != null) {
    _result.folder = folder;
  }
  if (file != null) {
    _result.file = file;
  }
  if (collection != null) {
    _result.collection = collection;
  }
  if (availableTextProviders != null) {
    _result.availableTextProviders.addAll(availableTextProviders);
  }
  if (availableEmailProviders != null) {
    _result.availableEmailProviders.addAll(availableEmailProviders);
  }
  if (currentUser != null) {
    _result.currentUser = currentUser;
  }
  if (document != null) {
    _result.document = document;
  }
  if (documents != null) {
    _result.documents.addAll(documents);
  }
  if (insertedId != null) {
    _result.insertedId = insertedId;
  }
  if (insertedIds != null) {
    _result.insertedIds.addAll(insertedIds);
  }
  if (collections != null) {
    _result.collections.addAll(collections);
  }
  if (indexes != null) {
    _result.indexes.addAll(indexes);
  }
  if (function != null) {
    _result.function = function;
  }
  if (functions != null) {
    _result.functions.addAll(functions);
  }
  return _result;
}