TestInvokeMethodResponse class

Represents the response of the test invoke request in the HTTP method.

Test API using the API Gateway console

Constructors

TestInvokeMethodResponse({String? body, Map<String, String>? headers, int? latency, String? log, Map<String, List<String>>? multiValueHeaders, int? status})
TestInvokeMethodResponse.fromJson(Map<String, dynamic> json)
factory

Properties

body String?
The body of the HTTP response.
final
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, String>?
The headers of the HTTP response.
final
latency int?
The execution latency of the test invoke request.
final
log String?
The API Gateway execution log for the test invoke request.
final
multiValueHeaders Map<String, List<String>>?
The headers of the HTTP response as a map from string to list of values.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int?
The HTTP status code.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited