of static method
ContactInterests
of({
- IReliveItContact? creator,
- required DateTime? dateCreated,
- ITaskFactForMModel? assistedTask,
- required MKey? contactKey,
- List<
String> ? interests,
Implementation
static ContactInterests of(
{IReliveItContact? creator,
required DateTime? dateCreated,
ITaskFactForMModel? assistedTask,
required MKey? contactKey,
List<String>? interests}) {
final self = ContactInterests(<String, dynamic>{},
mtype: ContactInterestsRef, 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 (interests != null) self.interests = interests;
return self;
}