render abstract method
Render a component to HTML.
The path is used to initialize the router for correct page rendering.
Optional context provides request-scoped data (headers, cookies, etc.).
Implementation
Future<RenderResult> render(
Component root, {
required String path,
Map<String, String>? query,
Map<String, String>? headers,
});