Template class abstract

A template is a text that can contain Tags. This text is parsed by the TemplateEngine into Renderers. These Renderers render a new text. TagRenderers are replaced with some other text, depending on the implementation of the TagRenderer

Implementers

Constructors

Template.new()

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source String
Explains where the template text came from. A source results in a text. We use the source to identify and cash Templates for performance.
getter/setter pair
sourceTitle String
Explains where the template text came from. It is used in Errors and can be shorter then source
getter/setter pair
text Future<String>
The text to be parsed by the TemplateEngine
getter/setter pair

Methods

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

Operators

operator ==(Object other) bool
Assuming that the text is the same for the same source so we can cash the Templates for performance
override