Template constructor
Template({
- String? id,
- TemplateObjectEnum? object,
- String? instanceId,
- String? resourceType,
- String? templateType,
- String? name,
- String? slug,
- int? position,
- bool? canRevert,
- bool? canDelete,
- bool? canToggle,
- String? subject,
- String? markup,
- String? body,
- List<
String> availableVariables = const [], - List<
String> requiredVariables = const [], - String? fromEmailName,
- String? replyToEmailName,
- bool? deliveredByClerk,
- bool? enabled,
- int? updatedAt,
- 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,
});