TemplateTag constructor

const TemplateTag({
  1. required String name,
  2. required String path,
  3. required int offset,
  4. required int line,
  5. required bool triple,
  6. int column = 0,
  7. List<String> sections = const [],
  8. bool afterBrace = false,
})

Creates the variable name found at offset of the file at path.

Implementation

const TemplateTag({
  required this.name,
  required this.path,
  required this.offset,
  required this.line,
  required this.triple,
  this.column = 0,
  this.sections = const [],
  this.afterBrace = false,
});