CachedAliceHttpResponse class

ObjectBox Entity of AliceHttpResponse.

Available extensions
Annotations

Constructors

CachedAliceHttpResponse({int objectId = 0, int? status = 0, int size = 0, DateTime? time, dynamic body, Map<String, String>? headers})

Properties

body ↔ dynamic
getter/setter pair
dbBody ↔ String?
Custom data type converter of body.
getter/setter pair
dbHeaders ↔ String?
Custom data type converter of headers.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
headers ↔ Map<String, String>?
getter/setter pair
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size ↔ int
getter/setter pair
status ↔ int?
getter/setter pair
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setter
time ↔ DateTime
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toCached() → CachedAliceHttpResponse

Available on AliceHttpResponse, provided by the AliceHttpResponseExtension extension

Converts AliceHttpResponse to CachedAliceHttpResponse.
toString() → String
A string representation of this object.
inherited

Operators

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