UiRenderTool constructor

UiRenderTool({
  1. VocabularyNarrowingConfig narrowingConfig = VocabularyNarrowingConfig.empty,
  2. UiVocabularySchema baseSchema = UiVocabularySchema.base,
  3. UiEventChannel? channel,
  4. MissionTraceRecorder? recorder,
  5. PolicyGate? policyGate,
  6. ActionRouter? actionRouter,
  7. 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;