of static method
Implementation
static Note of({
IReliveItContact? creator,
required DateTime? dateCreated,
ITaskFactForMModel? assistedTask,
required String? noteTitle,
String? notes,
List<IImageContent>? photos,
DateTime? noteDate,
required MKey? contactKey
}) {
final self = Note(<String, dynamic>{}, mtype: NoteRef, update: true);
if (creator != null) self.creator = creator;
if (dateCreated != null) self.dateCreated = dateCreated;
if (assistedTask != null) self.assistedTask = assistedTask;
if (noteTitle != null) self.noteTitle = noteTitle;
if (notes != null) self.notes = notes;
if (photos != null) self.photos = photos;
if (noteDate != null) self.noteDate = noteDate;
if (contactKey != null) self.contactKey = contactKey;
return self;
}