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

contents String?
final
hashCode int
The hash code for this object.
no setterinherited
mediaType String
final
messageRegex 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