RecordingEscalationHandler constructor

RecordingEscalationHandler({
  1. String id = 'fake-handler',
  2. EscalationDecision decision = const ParkAtGate('parked by the fake handler'),
  3. bool throwNext = false,
})

Creates the recorder; an escalation returns decision unless throwNext.

Implementation

RecordingEscalationHandler({
  this.id = 'fake-handler',
  this.decision = const ParkAtGate('parked by the fake handler'),
  this.throwNext = false,
});