start method
Captures the baseline and returns a session that can diff against it.
Implementation
@override
DetectorSession<C, K> start(C sources) {
startCount++;
if (throwOnStart) throw StateError('ScriptedDetector($id).start');
return _ScriptedSession<C, K>(this);
}