ExpectError constructor

const ExpectError({
  1. required Token token,
  2. required ExpectationType expectation,
})

Implementation

const factory ExpectError({
  required Token token,
  required ExpectationType expectation,
}) = _ExpectError;