CacheObj class

Annotations
  • @JsonSerializable()

Constructors

CacheObj(String key, List<int> content, {String? subKey = "", Duration? maxAge, Duration? maxStale, int? statusCode = 200, List<int>? headers})
factory
CacheObj.fromJson(Map<String, dynamic> json)
factory

Properties

content List<int>?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
headers List<int>?
getter/setter pair
key String
getter/setter pair
maxAge Duration?
no getter
maxAgeDate int?
getter/setter pair
maxStale Duration?
no getter
maxStaleDate int?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusCode int?
getter/setter pair
subKey String?
getter/setter pair

Methods

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

Operators

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