MessageTemplate class

Annotations
  • @JsonSerializable()

Constructors

MessageTemplate.new({String? id, String? environmentId, String? organizationId, String? creatorId, String? feedId, String? layoutId, String? parentId, String? subject, String? name, String? title, required StepType type, MessageTemplateContentType? contentType, required dynamic content, List<TemplateVariable>? variables, MessageTemplateCTA? cta, bool? active, String? preheader, String? senderName, Actor? actor, String? code, DateTime? createdAt, DateTime? updatedAt})
MessageTemplate.fromJson(Map<String, dynamic> json)
factory

Properties

active bool?
final
actor Actor?
final
code String?
final
content → dynamic
The content of the message template it can be a string or a list of blocks IEmailBlock
final
contentType MessageTemplateContentType?
final
createdAt DateTime?
final
creatorId String?
final
cta MessageTemplateCTA?
final
environmentId String?
final
feedId String?
final
hashCode int
The hash code for this object.
no setterinherited
id String?
final
layoutId String?
final
name String?
final
organizationId String?
final
parentId String?
final
preheader String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderName String?
final
subject String?
final
title String?
final
type StepType
latefinal
updatedAt DateTime?
final
variables List<TemplateVariable>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited