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

content String?
final
hashCode int?
The hash code for this object.
no setterinherited
isBinary bool?
no setter
path 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
runSubstitution(Map<String?, String?>? parameters) FileContents?
toString() String?
A string representation of this object.
inherited

Operators

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