copyWith method

KoiLabelPdf417Element copyWith({
  1. int? x,
  2. int? y,
  3. int? width,
  4. int? height,
  5. int? rotation,
  6. int? errorLevel,
  7. int? columns,
  8. int? rows,
  9. String? option,
  10. String? data,
})

Implementation

KoiLabelPdf417Element copyWith({
  int? x,
  int? y,
  int? width,
  int? height,
  int? rotation,
  int? errorLevel,
  int? columns,
  int? rows,
  String? option,
  String? data,
}) {
  return KoiLabelPdf417Element(
    x: x ?? this.x,
    y: y ?? this.y,
    width: width ?? this.width,
    height: height ?? this.height,
    rotation: rotation ?? this.rotation,
    errorLevel: errorLevel ?? this.errorLevel,
    columns: columns ?? this.columns,
    rows: rows ?? this.rows,
    option: option ?? this.option,
    data: data ?? this.data,
  );
}