ContentTemplateCreate constructor

ContentTemplateCreate({
  1. required String name,
  2. required String templateType,
  3. required ContentTemplateBodyCreate body,
  4. String? description,
  5. List<Label>? labels,
  6. ContentTemplateCreateSpace? space,
})

Implementation

ContentTemplateCreate(
    {required this.name,
    required this.templateType,
    required this.body,
    this.description,
    List<Label>? labels,
    this.space})
    : labels = labels ?? [];