Template constructor

Template({
  1. String? id,
  2. TemplateObjectEnum? object,
  3. String? instanceId,
  4. String? resourceType,
  5. String? templateType,
  6. String? name,
  7. String? slug,
  8. int? position,
  9. bool? canRevert,
  10. bool? canDelete,
  11. bool? canToggle,
  12. String? subject,
  13. String? markup,
  14. String? body,
  15. List<String> availableVariables = const [],
  16. List<String> requiredVariables = const [],
  17. String? fromEmailName,
  18. String? replyToEmailName,
  19. bool? deliveredByClerk,
  20. bool? enabled,
  21. int? updatedAt,
  22. int? createdAt,
})

Returns a new Template instance.

Implementation

Template({
  this.id,
  this.object,
  this.instanceId,
  this.resourceType,
  this.templateType,
  this.name,
  this.slug,
  this.position,
  this.canRevert,
  this.canDelete,
  this.canToggle,
  this.subject,
  this.markup,
  this.body,
  this.availableVariables = const [],
  this.requiredVariables = const [],
  this.fromEmailName,
  this.replyToEmailName,
  this.deliveredByClerk,
  this.enabled,
  this.updatedAt,
  this.createdAt,
});