of static method

Remember of({
  1. IReliveItContact? creator,
  2. required DateTime? dateCreated,
  3. ITaskFactForMModel? assistedTask,
  4. required MKey? contactKey,
  5. DateTime? rememberUntil,
  6. String? rememberTitle,
  7. String? rememberDetails,
})

Implementation

static Remember of(
    {IReliveItContact? creator,
    required DateTime? dateCreated,
    ITaskFactForMModel? assistedTask,
    required MKey? contactKey,
    DateTime? rememberUntil,
    String? rememberTitle,
    String? rememberDetails}) {
  final self =
      Remember(<String, dynamic>{}, mtype: RememberRef, update: true);
  if (creator != null) self.creator = creator;
  if (dateCreated != null) self.dateCreated = dateCreated;
  if (assistedTask != null) self.assistedTask = assistedTask;
  if (contactKey != null) self.contactKey = contactKey;
  if (rememberUntil != null) self.rememberUntil = rememberUntil;
  if (rememberTitle != null) self.rememberTitle = rememberTitle;
  if (rememberDetails != null) self.rememberDetails = rememberDetails;
  return self;
}