copyWith method
Implementation
MiniProgramCacheEntry copyWith({
Object? value = _unset,
DateTime? updatedAt,
DateTime? lastAccessedAt,
DateTime? expiresAt,
int? sizeBytes,
MiniProgramCachePriority? priority,
}) {
return MiniProgramCacheEntry(
appId: appId,
bucket: bucket,
key: key,
value: identical(value, _unset) ? this.value : value,
createdAt: createdAt,
updatedAt: updatedAt ?? this.updatedAt,
lastAccessedAt: lastAccessedAt ?? this.lastAccessedAt,
expiresAt: expiresAt ?? this.expiresAt,
sizeBytes: sizeBytes ?? this.sizeBytes,
priority: priority ?? this.priority,
);
}