HttpMalformedResponseDefinition class
Defines the response expected by an HttpMalformedRequest test case.
- Annotations
-
- @JsonSerializable()
Constructors
-
HttpMalformedResponseDefinition.new({HttpMalformedResponseBodyDefinition? body, required int code, Map<
String, String> headers = const {}}) -
const
-
HttpMalformedResponseDefinition.fromJson(Map<
String, Object?> json) -
factory
Properties
- body → HttpMalformedResponseBodyDefinition?
-
final
- code → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
final
-
props
→ List<
Object?> -
The type's equatable properties.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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