of static method

FactSchemaTemplate of({
  1. required IFactTense? tense,
  2. required String? label,
  3. String? title,
  4. 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;
}