add method
- SequenceItemType item
Adds a single item
to this Sequencer to be passed on to
the associated Driver.
If the sequencer should perform some operations before passing item
along to the Driver, this is a good method to override. Calling
super.add(item)
from a subclass of Sequencer will finally pass
item
along to the Driver.
Implementation
void add(SequenceItemType item) {
if (isConnected) {
_streamController.add(item);
} else {
throw Exception('No listener connected to sequencer');
}
}