HttpMessageTestCase<T extends HttpMessageTestCase<T> > constructor
const
HttpMessageTestCase<T extends HttpMessageTestCase<T> > ({
- required String id,
- String? documentation,
- required ShapeId protocol,
- ShapeId? authScheme,
- String? body,
- String? bodyMediaType,
- Map<
String, Object?> params = const {}, - ShapeId? vendorParamsShape,
- Map<
String, Object?> vendorParams = const {}, - Map<
String, String> headers = const {}, - List<
String> forbidHeaders = const [], - List<
String> requireHeaders = const [], - List<
String> tags = const [], - AppliesTo? appliesTo,
Implementation
const HttpMessageTestCase({
required this.id,
this.documentation,
required this.protocol,
this.authScheme,
this.body,
this.bodyMediaType,
this.params = const {},
this.vendorParamsShape,
this.vendorParams = const {},
this.headers = const {},
this.forbidHeaders = const [],
this.requireHeaders = const [],
this.tags = const [],
this.appliesTo,
});