copyWith method
Implementation
CachedData copyWith({
DateTime? lastUsedAt,
CacheLoc? location,
DateTime? updatedAt,
int? useCount,
Object? value,
}) {
return CachedData(
lastUsedAt: lastUsedAt ?? this.lastUsedAt,
location: location ?? this.location,
updatedAt: updatedAt ?? this.updatedAt,
useCount: useCount ?? this.useCount,
value: value ?? this.value,
);
}