of static method
Memory
of({
- IReliveItContact? creator,
- required DateTime? dateCreated,
- ITaskFactForMModel? assistedTask,
- List<
MKey> ? contactKeys, - List<
MKey> ? possessions, - List<
MKey> ? organizations, - List<
MKey> ? pets, - List<
MKey> ? traditions, - List<
MKey> ? traits, - FlexiDate? memoryDate,
- required String? memory,
- List<
IImageContent> ? photos, - List<
IVideoContent> ? videos, - IPhysicalLocation? location,
- String? details,
Implementation
static Memory of(
{IReliveItContact? creator,
required DateTime? dateCreated,
ITaskFactForMModel? assistedTask,
List<MKey>? contactKeys,
List<MKey>? possessions,
List<MKey>? organizations,
List<MKey>? pets,
List<MKey>? traditions,
List<MKey>? traits,
FlexiDate? memoryDate,
required String? memory,
List<IImageContent>? photos,
List<IVideoContent>? videos,
IPhysicalLocation? location,
String? details}) {
final self = Memory(<String, dynamic>{}, mtype: MemoryRef, update: true);
if (creator != null) self.creator = creator;
if (dateCreated != null) self.dateCreated = dateCreated;
if (assistedTask != null) self.assistedTask = assistedTask;
if (contactKeys != null) self.contactKeys = contactKeys;
if (possessions != null) self.possessions = possessions;
if (organizations != null) self.organizations = organizations;
if (pets != null) self.pets = pets;
if (traditions != null) self.traditions = traditions;
if (traits != null) self.traits = traits;
if (memoryDate != null) self.memoryDate = memoryDate;
if (memory != null) self.memory = memory;
if (photos != null) self.photos = photos;
if (videos != null) self.videos = videos;
if (location != null) self.location = location;
if (details != null) self.details = details;
return self;
}