AdditionalExpectedResponse constructor

const AdditionalExpectedResponse(
  1. String contentType, {
  2. String? schema,
  3. bool success = false,
  4. Map<String, dynamic> additionalFields = const {},
})

Constructs a new AdditionalExpectedResponse object from a contentType.

Implementation

const AdditionalExpectedResponse(
  this.contentType, {
  this.schema,
  this.success = false,
  this.additionalFields = const {},
});