ScriptedDetector<C, K extends Object> constructor
ScriptedDetector<C, K extends Object> (
- String id, {
- Listenable? listenable,
- Stream<
Object?> ? stream, - List<
TrackedChange< changes = const [],K> > - DetectorRole role = DetectorRole.describing,
- bool throwOnStart = false,
- bool throwOnDiff = false,
Creates a scripted detector.
Implementation
ScriptedDetector(
this.id, {
this.listenable,
this.stream,
this.changes = const [],
this.role = DetectorRole.describing,
this.throwOnStart = false,
this.throwOnDiff = false,
});