ManagedApiFetchResponsePigeon class

body is parsed JSON (map/list/primitive), the raw string when not JSON, or null for an empty body.

Constructors

ManagedApiFetchResponsePigeon({required int status, required bool ok, required Map<String?, String?> headers, Object? body, String? rawBody})

Properties

body ↔ Object?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ Map<String?, String?>
getter/setter pair
ok ↔ bool
getter/setter pair
rawBody ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status ↔ int
getter/setter pair

Methods

encode() → Object
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

Static Methods

decode(Object result) → ManagedApiFetchResponsePigeon