TemplateEngine class

Constructors

TemplateEngine()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

mergeCustomSegments(String oldContent, String newContent, {String beginMarker = '// BEGIN CUSTOM ROUTES', String endMarker = '// END CUSTOM ROUTES'}) String
Extracts the content between beginMarker and endMarker in oldContent and merges it into newContent between the same markers.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
render(String templateContent, Map<String, String> placeholders) String
Replaces placeholders formatted as {{KEY}} with their matching values from placeholders.
toString() String
A string representation of this object.
inherited

Operators

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