copyWithCompanion method

CacheSummaryRow copyWithCompanion(
  1. CacheSummaryCompanion data
)

Implementation

CacheSummaryRow copyWithCompanion(CacheSummaryCompanion data) {
  return CacheSummaryRow(
    id: data.id.present ? data.id.value : this.id,
    size: data.size.present ? data.size.value : this.size,
    modified: data.modified.present ? data.modified.value : this.modified,
    maxSize: data.maxSize.present ? data.maxSize.value : this.maxSize,
  );
}