copyWith method

BarcodeData copyWith({
  1. List<CornerPoint>? cornerPoints,
  2. int? type,
  3. String? value,
})

Implementation

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