CockpitRecorderController constructor
CockpitRecorderController({
- required CockpitInteractionRecorder recorder,
- CockpitRecorderExportGateway? exportGateway,
Creates a controller over recorder. exportGateway backs
saveBundle; the default writes YAML to the system temp directory.
Implementation
CockpitRecorderController({
required this.recorder,
CockpitRecorderExportGateway? exportGateway,
}) : _exportGateway = exportGateway ?? CockpitRecorderFileExportGateway() {
recorder.addListener(_relayEngineChange);
}