CacheEntry class
キャッシュエントリの情報を表すクラス
Constructors
- CacheEntry({required String url, required int statusCode, required String contentType, required DateTime createdAt, required DateTime expiresAt, required CacheStatus status, required int sizeBytes})
-
const
Properties
- contentType → String
-
Content-Typeヘッダの値
final
- createdAt → DateTime
-
キャッシュ作成日時
final
- expiresAt → DateTime
-
キャッシュ有効期限
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sizeBytes → int
-
キャッシュファイルのサイズ(バイト)
final
- status → CacheStatus
-
キャッシュ状態
final
- statusCode → int
-
HTTPステータスコード(200, 404等)
final
- url → String
-
キャッシュされたリソースの元URL
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited