ExpectError constructor

const ExpectError({
  1. required SyntacticEntity syntacticEntity,
  2. required ExpectationType expectation,
})

Implementation

const factory ExpectError({
  required SyntacticEntity syntacticEntity,
  required ExpectationType expectation,
}) = _ExpectError;