NuntioResponse constructor
NuntioResponse({
- String? kubeConfig,
- Project? project,
- Iterable<
Project> ? projects, - Iterable<
Member> ? members, - String? publicKey,
- String? namespace,
- String? accessToken,
- Member? member,
- Folder? folder,
- File? file,
- Collection? collection,
- Iterable<
TextProviderType> ? availableTextProviders, - Iterable<
EmailProviderType> ? availableEmailProviders, - User? currentUser,
- Document? document,
- Iterable<
Document> ? documents, - String? insertedId,
- Iterable<
String> ? insertedIds, - Iterable<
Collection> ? collections, - Iterable<
Index> ? indexes, - Function_? function,
- 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;
}