UiRenderTool constructor
UiRenderTool({
- VocabularyNarrowingConfig narrowingConfig = VocabularyNarrowingConfig.empty,
- UiVocabularySchema baseSchema = UiVocabularySchema.base,
- UiEventChannel? channel,
- MissionTraceRecorder? recorder,
- PolicyGate? policyGate,
- ActionRouter? actionRouter,
- String idGenerator()?,
Implementation
UiRenderTool({
this.narrowingConfig = VocabularyNarrowingConfig.empty,
this.baseSchema = UiVocabularySchema.base,
UiEventChannel? channel,
MissionTraceRecorder? recorder,
PolicyGate? policyGate,
ActionRouter? actionRouter,
String Function()? idGenerator,
}) : channel = channel ?? UiEventChannel(),
recorder = recorder ?? MissionTraceRecorder(),
policyGate = policyGate ?? PolicyGate(),
actionRouter = actionRouter ?? CapturingActionRouter(),
_idGenerator = idGenerator ?? _defaultIdGenerator;