Template constructor
Template({})
Implementation
factory Template({
$core.String? body,
TemplateType? type,
$core.String? subject,
$core.bool? enabled,
$core.Iterable<$core.String>? format,
}) {
final _result = create();
if (body != null) {
_result.body = body;
}
if (type != null) {
_result.type = type;
}
if (subject != null) {
_result.subject = subject;
}
if (enabled != null) {
_result.enabled = enabled;
}
if (format != null) {
_result.format.addAll(format);
}
return _result;
}