Template class

Constructors

Template({String? name, XmlDocument? document})
Template.fromDocument({String? name, XmlDocument? xml, Map<String, String?>? parameters})
factory
Template.fromTemplate({required Template template, Map<String, String?>? parameters})
factory

Properties

document → XmlDocument?
final
hashCode int
The hash code for this object.
no setterinherited
name String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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
The equality operator.
inherited

Static Methods

errorTemplate(String err1, [String? err2, String? err3]) String
fetch({required String url, Map<String, String?>? parameters, required bool refresh}) Future<Template>
fetchSaved({required String url}) Future<XmlDocument?>
fetchTemplate({required String url, Map<String, String?>? parameters, required bool refresh}) Future<XmlDocument?>