TemplateFile class
This class represents a file in a generator template. The contents could
either be binary or text. If text, the contents may contain mustache
variables that can be substituted (__myVar__
).
Constructors
- TemplateFile(String? path, String? content)
-
TemplateFile.fromBinary(String? path, List<
int?> ? _binaryData)
Properties
Methods
-
noSuchMethod(
Invocation? invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
runSubstitution(
Map< String?, String?> ? parameters) → FileContents? -
toString(
) → String? -
A string representation of this object.
inherited
Operators
-
operator ==(
Object? other) → bool? -
The equality operator.
inherited