ExpectationType.oneOf constructor

const ExpectationType.oneOf({
  1. required List<ExpectationType> expectations,
  2. String? description,
})

Implementation

const factory ExpectationType.oneOf({
  required List<ExpectationType> expectations,
  String? description,
}) = OneOfExpectation;