HttpMalformedResponseBodyDefinition class
Defines the response expected by an HttpMalformedRequest test case.
- Annotations
-
- @JsonSerializable()
Constructors
- HttpMalformedResponseBodyDefinition.new({String? contents, required String mediaType, String? messageRegex})
-
const
-
HttpMalformedResponseBodyDefinition.fromJson(Map<
String, Object?> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
Serializes
this
as a JSON object. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited