copyWith method
Implementation
BarcodeData copyWith({
List<CornerPoint>? cornerPoints,
int? type,
String? value,
}) =>
BarcodeData(
cornerPoints: cornerPoints ?? this.cornerPoints,
type: type ?? this.type,
value: value ?? this.value,
);