of static method
AssistedTask
of({
- IReliveItContact? creator,
- required DateTime? dateCreated,
- ITaskFactForMModel? assistedTask,
- DateTime? displayDate,
- DateTime? dueDate,
- DateTime? completionDate,
- String? taskTitle,
- String? taskDescription,
- ITimeSensitivity? timeSensitivity,
- bool? isCancelled = false,
- ITaskDueConfig? dueConfig,
- TimeSpan? displayOffset,
- bool? isAlert = false,
- bool? isSkippable = false,
- MModel? state,
- MModel? result,
- MOperationRef? operationRef,
- bool? isUnread = false,
- bool? isNotified = false,
- MModel? setup,
- MKey? contactKey,
- MKey? assigneeKey,
- String? frameId,
- String? linkedFactId,
- IRecurrence? recurrence,
Implementation
static AssistedTask of(
{IReliveItContact? creator,
required DateTime? dateCreated,
ITaskFactForMModel? assistedTask,
DateTime? displayDate,
DateTime? dueDate,
DateTime? completionDate,
String? taskTitle,
String? taskDescription,
ITimeSensitivity? timeSensitivity,
bool? isCancelled = false,
ITaskDueConfig? dueConfig,
TimeSpan? displayOffset,
bool? isAlert = false,
bool? isSkippable = false,
MModel? state,
MModel? result,
MOperationRef? operationRef,
bool? isUnread = false,
bool? isNotified = false,
MModel? setup,
MKey? contactKey,
MKey? assigneeKey,
String? frameId,
String? linkedFactId,
IRecurrence? recurrence}) {
final self =
AssistedTask(<String, dynamic>{}, mtype: AssistedTaskRef, update: true);
if (creator != null) self.creator = creator;
if (dateCreated != null) self.dateCreated = dateCreated;
if (assistedTask != null) self.assistedTask = assistedTask;
if (displayDate != null) self.displayDate = displayDate;
if (dueDate != null) self.dueDate = dueDate;
if (completionDate != null) self.completionDate = completionDate;
if (taskTitle != null) self.taskTitle = taskTitle;
if (taskDescription != null) self.taskDescription = taskDescription;
if (timeSensitivity != null) self.timeSensitivity = timeSensitivity;
if (isCancelled != null) self.isCancelled = isCancelled;
if (dueConfig != null) self.dueConfig = dueConfig;
if (displayOffset != null) self.displayOffset = displayOffset;
if (isAlert != null) self.isAlert = isAlert;
if (isSkippable != null) self.isSkippable = isSkippable;
if (state != null) self.state = state;
if (result != null) self.result = result;
if (operationRef != null) self.operationRef = operationRef;
if (isUnread != null) self.isUnread = isUnread;
if (isNotified != null) self.isNotified = isNotified;
if (setup != null) self.setup = setup;
if (contactKey != null) self.contactKey = contactKey;
if (assigneeKey != null) self.assigneeKey = assigneeKey;
if (frameId != null) self.frameId = frameId;
if (linkedFactId != null) self.linkedFactId = linkedFactId;
if (recurrence != null) self.recurrence = recurrence;
return self;
}