of static method
Congregant
of({
- IReliveItContact? creator,
- required DateTime? dateCreated,
- ITaskFactForMModel? assistedTask,
- bool? isActive = false,
- required MKey? contactKey,
- required IChurch? church,
- String? churchPosition,
Implementation
static Congregant of({
IReliveItContact? creator,
required DateTime? dateCreated,
ITaskFactForMModel? assistedTask,
bool? isActive = false,
required MKey? contactKey,
required IChurch? church,
String? churchPosition
}) {
final self = Congregant(<String, dynamic>{}, mtype: CongregantRef, update: true);
if (creator != null) self.creator = creator;
if (dateCreated != null) self.dateCreated = dateCreated;
if (assistedTask != null) self.assistedTask = assistedTask;
if (isActive != null) self.isActive = isActive;
if (contactKey != null) self.contactKey = contactKey;
if (church != null) self.church = church;
if (churchPosition != null) self.churchPosition = churchPosition;
return self;
}