of static method
FactSchemaTemplate
of({
- required IFactTense? tense,
- required String? label,
- String? title,
- required String? template,
Implementation
static FactSchemaTemplate of({
required IFactTense? tense,
required String? label,
String? title,
required String? template
}) {
final self = FactSchemaTemplate(<String, dynamic>{}, mtype: FactSchemaTemplateRef, update: true);
if (tense != null) self.tense = tense;
if (label != null) self.label = label;
if (title != null) self.title = title;
if (template != null) self.template = template;
return self;
}