render function
Future<String>
render(
- String source, [
- Map<
String, Object?> locals = const {}, - PugOptions? options
Implementation
Future<String> render(
String source, [
Map<String, Object?> locals = const {},
PugOptions? options,
]) async {
return compile(source, options).render(locals);
}