copyWith method

CacheItemsCompanion copyWith({
  1. Value<String>? key,
  2. Value<String>? data,
  3. Value<DateTime>? createdAt,
  4. Value<DateTime>? expiresAt,
  5. Value<int>? priority,
  6. Value<int>? size,
  7. Value<int>? rowid,
})

Implementation

CacheItemsCompanion copyWith({
  Value<String>? key,
  Value<String>? data,
  Value<DateTime>? createdAt,
  Value<DateTime>? expiresAt,
  Value<int>? priority,
  Value<int>? size,
  Value<int>? rowid,
}) {
  return CacheItemsCompanion(
    key: key ?? this.key,
    data: data ?? this.data,
    createdAt: createdAt ?? this.createdAt,
    expiresAt: expiresAt ?? this.expiresAt,
    priority: priority ?? this.priority,
    size: size ?? this.size,
    rowid: rowid ?? this.rowid,
  );
}