Response.View constructor
Response.View(})
Render a template from a template string. Templates can be inlined or looked up from a template
Implementation
Response.View(String templateString,
{this.statusCode = HttpStatus.ok,
Map<String, dynamic> varMap = const {}}) {
final template = Template(templateString);
body = template.renderString(varMap);
}