submit method
Hands the pass to the queue. Nothing recorded after this reaches it.
Implementation
@override
void submit() {
if (_submitted) throw StateError('this pass has already been submitted');
_submitted = true;
commands.add(const RecordedCall('submit'));
}