CacheResponseBox class

Annotations

Constructors

CacheResponseBox({required String key, List<int>? content, DateTime? date, String? eTag, DateTime? expires, List<int>? headers, String? lastModified, DateTime? maxStale, DateTime? requestDate, required int priority, required DateTime responseDate, required String url})

Properties

cacheControl ToOne<CacheControlBox>
final
cachePriority → CachePriority
no setter
content List<int>?
getter/setter pair
date DateTime?
getter/setter pair
eTag String?
getter/setter pair
expires DateTime?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers List<int>?
getter/setter pair
id int?
getter/setter pair
key String
getter/setter pair
lastModified String?
getter/setter pair
maxStale DateTime?
getter/setter pair
priority int
getter/setter pair
requestDate DateTime?
getter/setter pair
responseDate DateTime
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
getter/setter pair

Methods

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

Operators

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

Static Methods

fromObject(CacheResponse response) CacheResponseBox