copyWith method
Implementation
UCodeScanOptions copyWith({List<UCodeFormat>? formats, bool? multiple, bool? tryHarder, bool? tryRotate, bool? tryInvert, bool? tryDownscale, int? maxSymbols, Rect? region}) =>
UCodeScanOptions(
formats: formats ?? this.formats,
multiple: multiple ?? this.multiple,
tryHarder: tryHarder ?? this.tryHarder,
tryRotate: tryRotate ?? this.tryRotate,
tryInvert: tryInvert ?? this.tryInvert,
tryDownscale: tryDownscale ?? this.tryDownscale,
maxSymbols: maxSymbols ?? this.maxSymbols,
region: region ?? this.region,
);