render abstract method

Future<String> render(
  1. String templateName, [
  2. Map<String, dynamic> data = const {}
])

Renders a template with the given name using the provided data.

templateName is the name of the template to be rendered. data is a map containing key-value pairs that will be used to populate the template. Returns a Future that completes with the rendered template as a String.

Implementation

Future<String> render(
  String templateName, [
  Map<String, dynamic> data = const {},
]);