rendererReader top-level property

String Function() rendererReader
getter/setter pair

Reader for the renderer the app draws with, the source of the report's env.renderer.

The default is dusk's own answer, which is all it can know: on web skwasm when compiled to WebAssembly and canvaskit otherwise, and unknown everywhere else, where the renderer (Impeller's backend, Skia) is a fact of the engine build that only its launch log states. A run through dusk:perf_run fills that gap from the host's log scrape; a host that knows better may reassign this.

Contract: an unset value reads unknown, never null or empty, so a report always says where the renderer question stands.

Implementation

String Function() rendererReader =
    () => kIsWeb ? (kIsWasm ? 'skwasm' : 'canvaskit') : 'unknown';