KnowledgeWriter constructor
KnowledgeWriter({
- WayfinderProfileResolver? resolver,
- ProfileValidator validator = const ProfileValidator(),
- KnowledgeAssessor assess = assessOnCallingIsolate,
- DateTime clock() = DateTime.now,
resolver selects the bundle's Profile when prepare is given no
selection; validator generates the Profile's indexes and judges the
base and the candidate; assess runs that judgment, by default on the
calling isolate; clock dates stamps and log entries.
Implementation
KnowledgeWriter({
this.resolver,
this.validator = const ProfileValidator(),
KnowledgeAssessor assess = assessOnCallingIsolate,
DateTime Function() clock = DateTime.now,
}) : _assess = assess,
_clock = clock;