TemplateView class

Available extensions
Annotations
  • @freezed

Constructors

TemplateView.new({@Default(toolsOzoneCommunicationDefsTemplateView) @JsonKey(name: r'$type') String $type, required String id, required String name, String? subject, required String contentMarkdown, required bool disabled, String? lang, required String lastUpdatedBy, required DateTime createdAt, required DateTime updatedAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
TemplateView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
contentMarkdown String
Subject of the message, used in emails.
no setterinherited
copyWith → $TemplateViewCopyWith<TemplateView>
no setterinherited
createdAt DateTime
no setterinherited
disabled bool
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasLang bool

Available on TemplateView, provided by the $TemplateViewExtension extension

Returns true if lang is not null, otherwise false.
no setter
hasNotLang bool

Available on TemplateView, provided by the $TemplateViewExtension extension

Returns true if lang is null, otherwise false.
no setter
hasNotSubject bool

Available on TemplateView, provided by the $TemplateViewExtension extension

Returns true if subject is null, otherwise false.
no setter
hasNotUnknown bool

Available on TemplateView, provided by the $TemplateViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasSubject bool

Available on TemplateView, provided by the $TemplateViewExtension extension

Returns true if subject is not null, otherwise false.
no setter
hasUnknown bool

Available on TemplateView, provided by the $TemplateViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
id String
no setterinherited
lang String?
Message language.
no setterinherited
lastUpdatedBy String
DID of the user who last updated the template.
no setterinherited
name String
Name of the template.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subject String?
Content of the template, can contain markdown and variable placeholders.
no setterinherited
updatedAt DateTime
no setterinherited

Methods

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

Operators

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