TemplateFile.fromBytes constructor

TemplateFile.fromBytes(
  1. String path,
  2. List<int> content
)

This class represents a file in a generator template. The contents should be text and may contain mustache variables that can be substituted ({{myVar}}).

Implementation

TemplateFile.fromBytes(this.path, this.content);