Template.fromNode constructor
- @internal
- Environment environment, {
- String? path,
- Map<
String, Object?> globals = const <String, Object?>{}, - required Node body,
This is used internally by the Environment.fromString to create templates from parsed sources.
Implementation
@internal
Template.fromNode(
this.environment, {
this.path,
this.globals = const <String, Object?>{},
required this.body,
});