copyWith method

CatalogSummary copyWith({
  1. int? totalKeys,
  2. int? greenCount,
  3. int? warningCount,
  4. int? redCount,
  5. int? greenRows,
  6. int? warningRows,
  7. int? redRows,
})

Implementation

CatalogSummary copyWith({
  int? totalKeys,
  int? greenCount,
  int? warningCount,
  int? redCount,
  int? greenRows,
  int? warningRows,
  int? redRows,
}) {
  return CatalogSummary(
    totalKeys: totalKeys ?? this.totalKeys,
    greenCount: greenCount ?? this.greenCount,
    warningCount: warningCount ?? this.warningCount,
    redCount: redCount ?? this.redCount,
    greenRows: greenRows ?? this.greenRows,
    warningRows: warningRows ?? this.warningRows,
    redRows: redRows ?? this.redRows,
  );
}