copyWith method
DecodeHint
copyWith({
- bool? other,
- bool? pureBarcode,
- List<
BarcodeFormat> ? possibleFormats, - bool? tryHarder,
- String? characterSet,
- List<
int> ? allowedLengths, - bool? assumeCode39CheckDigit,
- bool? assumeGs1,
- bool? returnCodabarStartEnd,
- ResultPointCallback? needResultPointCallback,
- List<
int> ? allowedEanExtensions, - bool? alsoInverted,
Implementation
DecodeHint copyWith({
bool? other,
bool? pureBarcode,
List<BarcodeFormat>? possibleFormats,
bool? tryHarder,
String? characterSet,
List<int>? allowedLengths,
bool? assumeCode39CheckDigit,
bool? assumeGs1,
bool? returnCodabarStartEnd,
ResultPointCallback? needResultPointCallback,
List<int>? allowedEanExtensions,
bool? alsoInverted,
}) {
return DecodeHint(
other: other ?? this.other,
pureBarcode: pureBarcode ?? this.pureBarcode,
possibleFormats: possibleFormats ?? this.possibleFormats,
tryHarder: tryHarder ?? this.tryHarder,
characterSet: characterSet ?? this.characterSet,
allowedLengths: allowedLengths ?? this.allowedLengths,
assumeCode39CheckDigit:
assumeCode39CheckDigit ?? this.assumeCode39CheckDigit,
assumeGs1: assumeGs1 ?? this.assumeGs1,
returnCodabarStartEnd:
returnCodabarStartEnd ?? this.returnCodabarStartEnd,
needResultPointCallback:
needResultPointCallback ?? this.needResultPointCallback,
allowedEanExtensions: allowedEanExtensions ?? this.allowedEanExtensions,
alsoInverted: alsoInverted ?? this.alsoInverted,
);
}