ExpectationType.token constructor

const ExpectationType.token({
  1. required TokenType token,
  2. String? description,
})

Implementation

const factory ExpectationType.token({
  required TokenType token,
  String? description,
}) = TokenExpectation;