TemplateDto constructor

TemplateDto({
  1. required String id,
  2. required String name,
  3. List<TemplateVariable> variables = const [],
  4. required String content,
  5. required DateTime createdAt,
})

Returns a new TemplateDto instance.

Implementation

TemplateDto({
  required this.id,
  required this.name,
  this.variables = const [],
  required this.content,
  required this.createdAt,
});