NmFakeCalibration class

A scripted calibration: visual Intro → DisplaySelect → Pattern → Capture → Review → Blend → Colour → Apply → done; audio play → capture → correct → Apply → done (each operator answer moves one step).

Implemented types

Constructors

NmFakeCalibration(List<String> log, {List<NmDomeDisplay> displays = const [], NmDomeCalibrationReview review = nmDemoReview})
Creates an NmFakeCalibration.

Properties

displays → List<NmDomeDisplay>
Displays offered at DisplaySelect.
final
hashCode → int
The hash code for this object.
no setterinherited
log → List<String>
Shared call log.
final
review → NmDomeCalibrationReview
The review after a capture.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

advance(NmDomeCalibrationAnswer answer) → Future<void>
Answers a step that needs the operator (display selection, review, blend, colour).
override
apply(String resultId) → Future<void>
Applies a result.
override
cancel() → Future<void>
Cancels the run.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start(NmDomeCalibrationPlan plan) → Stream<NmDomeCalibrationStep>
Starts a run; the stream reports each step until done, failed or cancel.
override
submitCapture(Uint8List image) → Future<void>
Sends a camera capture (JPEG / PNG) at a capture step.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited