copyWith method

KoiPositionedBarcodeElement copyWith({
  1. int? x,
  2. int? y,
  3. String? data,
  4. int? height,
  5. String? type,
})

Implementation

KoiPositionedBarcodeElement copyWith({
  int? x,
  int? y,
  String? data,
  int? height,
  String? type,
}) {
  return KoiPositionedBarcodeElement(
    x: x ?? this.x,
    y: y ?? this.y,
    data: data ?? this.data,
    height: height ?? this.height,
    type: type ?? this.type,
  );
}