UnexpectedEventError constructor

UnexpectedEventError(
  1. Event event, [
  2. String message = 'Unexpected event.'
])

Implementation

UnexpectedEventError(this.event, [this.message = 'Unexpected event.']);