copyWith method

ForensicConfig copyWith({
  1. int? redundancy,
  2. int? bitsPerChannel,
})

Creates a copy of this config with the given fields replaced.

Implementation

ForensicConfig copyWith({
  int? redundancy,
  int? bitsPerChannel,
}) {
  return ForensicConfig(
    redundancy: redundancy ?? this.redundancy,
    bitsPerChannel: bitsPerChannel ?? this.bitsPerChannel,
  );
}