Templates class

Loads and caches templates.

Constructors

Templates()

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
Returns true if no templates are loaded.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

loadAll(Directory templateDirectory) Future<void>
Loads all templates from web/templates
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
The equality operator.
inherited
operator [](String name) → Template?
Retrieves a cached template.