of static method
FactMetaDate
of({
- required JsonPath? path,
- required String? verb,
- String? label,
- required MSchemaRef? factRef,
- bool? isFlexible = false,
- IRemindableInfo? remindableInfo,
- required IFactAgent? agent,
- ITimeSensitivity? timeSensitivity,
- String? followUpLabel,
- int? priority,
- bool? isHistorical = false,
- bool? isFuture = false,
- bool? isStart = false,
- bool? isEnd = false,
- bool? isExpiration = false,
- bool? isTimestamp = false,
- bool? hasTime = false,
- IFactRecurrence? recurs,
- List<
String> ? dateTokens,
Implementation
static FactMetaDate of(
{required JsonPath? path,
required String? verb,
String? label,
required MSchemaRef? factRef,
bool? isFlexible = false,
IRemindableInfo? remindableInfo,
required IFactAgent? agent,
ITimeSensitivity? timeSensitivity,
String? followUpLabel,
int? priority,
bool? isHistorical = false,
bool? isFuture = false,
bool? isStart = false,
bool? isEnd = false,
bool? isExpiration = false,
bool? isTimestamp = false,
bool? hasTime = false,
IFactRecurrence? recurs,
List<String>? dateTokens}) {
final self =
FactMetaDate(<String, dynamic>{}, mtype: FactMetaDateRef, update: true);
if (path != null) self.path = path;
if (verb != null) self.verb = verb;
if (label != null) self.label = label;
if (factRef != null) self.factRef = factRef;
if (isFlexible != null) self.isFlexible = isFlexible;
if (remindableInfo != null) self.remindableInfo = remindableInfo;
if (agent != null) self.agent = agent;
if (timeSensitivity != null) self.timeSensitivity = timeSensitivity;
if (followUpLabel != null) self.followUpLabel = followUpLabel;
if (priority != null) self.priority = priority;
if (isHistorical != null) self.isHistorical = isHistorical;
if (isFuture != null) self.isFuture = isFuture;
if (isStart != null) self.isStart = isStart;
if (isEnd != null) self.isEnd = isEnd;
if (isExpiration != null) self.isExpiration = isExpiration;
if (isTimestamp != null) self.isTimestamp = isTimestamp;
if (hasTime != null) self.hasTime = hasTime;
if (recurs != null) self.recurs = recurs;
if (dateTokens != null) self.dateTokens = dateTokens;
return self;
}