of static method
Implementation
static Gift of(
{IReliveItContact? creator,
required DateTime? dateCreated,
ITaskFactForMModel? assistedTask,
String? occasion,
required String? gift,
String? notes,
required DateTime? giftDate,
List<MKey>? gifteeKeys,
required MKey? recipientKey}) {
final self = Gift(<String, dynamic>{}, mtype: GiftRef, update: true);
if (creator != null) self.creator = creator;
if (dateCreated != null) self.dateCreated = dateCreated;
if (assistedTask != null) self.assistedTask = assistedTask;
if (occasion != null) self.occasion = occasion;
if (gift != null) self.gift = gift;
if (notes != null) self.notes = notes;
if (giftDate != null) self.giftDate = giftDate;
if (gifteeKeys != null) self.gifteeKeys = gifteeKeys;
if (recipientKey != null) self.recipientKey = recipientKey;
return self;
}