Template class

Specifies the name and version of the message template to use for the message.

Constructors

Template({String? name, String? version})
Template.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
name String?
The name of the message template to use for the message. If specified, this value must match the name of an existing message template.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
version String?
The unique identifier for the version of the message template to use for the message. If specified, this value must match the identifier for an existing template version. To retrieve a list of versions and version identifiers for a template, use the Template Versions resource.
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