NuntioRequest constructor
NuntioRequest({
- String? namespace,
- AuthToken? authToken,
- String? apiKey,
- Project? project,
- Member? member,
- User? currentUser,
- Access? access,
- String? password,
- Folder? folder,
- File? file,
- List<
int> ? data, - bool? recursive,
- Member? currentMember,
- MongoQuery? query,
- Document? document,
- Iterable<
Document> ? documents, - Collection? collection,
- EmailProvider? emailProvider,
- TextProvider? textProvider,
- Sms? text,
- Email? email,
- bool? dropCollection,
- Index? index,
- Function_? function,
Implementation
factory NuntioRequest({
$core.String? namespace,
$3.AuthToken? authToken,
$core.String? apiKey,
Project? project,
Member? member,
$0.User? currentUser,
Access? access,
$core.String? password,
Folder? folder,
File? file,
$core.List<$core.int>? data,
$core.bool? recursive,
Member? currentMember,
$3.MongoQuery? query,
$3.Document? document,
$core.Iterable<$3.Document>? documents,
$3.Collection? collection,
EmailProvider? emailProvider,
TextProvider? textProvider,
Sms? text,
Email? email,
$core.bool? dropCollection,
$3.Index? index,
Function_? function,
}) {
final _result = create();
if (namespace != null) {
_result.namespace = namespace;
}
if (authToken != null) {
_result.authToken = authToken;
}
if (apiKey != null) {
_result.apiKey = apiKey;
}
if (project != null) {
_result.project = project;
}
if (member != null) {
_result.member = member;
}
if (currentUser != null) {
_result.currentUser = currentUser;
}
if (access != null) {
_result.access = access;
}
if (password != null) {
_result.password = password;
}
if (folder != null) {
_result.folder = folder;
}
if (file != null) {
_result.file = file;
}
if (data != null) {
_result.data = data;
}
if (recursive != null) {
_result.recursive = recursive;
}
if (currentMember != null) {
_result.currentMember = currentMember;
}
if (query != null) {
_result.query = query;
}
if (document != null) {
_result.document = document;
}
if (documents != null) {
_result.documents.addAll(documents);
}
if (collection != null) {
_result.collection = collection;
}
if (emailProvider != null) {
_result.emailProvider = emailProvider;
}
if (textProvider != null) {
_result.textProvider = textProvider;
}
if (text != null) {
_result.text = text;
}
if (email != null) {
_result.email = email;
}
if (dropCollection != null) {
_result.dropCollection = dropCollection;
}
if (index != null) {
_result.index = index;
}
if (function != null) {
_result.function = function;
}
return _result;
}