ScenarioFilmVoice class
What a scenario says to whatever is filming it — s.film.
A cue is an ordinary object the author already has, handed over here and read back by an edit with a pattern:
s.film.emit(Basket(count: 3)); // in the scenario
case Said(cue: Basket(:var count)) // in the edit
There is no registry, no map and no cast — the class is the identity, and because an edit runs in this same process the object arrives as itself. Nothing is filming most of the time, and then every call here does nothing.
Properties
Methods
-
emit(
Object cue) → void -
Says
cueat this point of the film. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited