copyWith method

KoiLabelDiagonalElement copyWith({
  1. int? x,
  2. int? y,
  3. int? xEnd,
  4. int? yEnd,
  5. int? thickness,
})

Implementation

KoiLabelDiagonalElement copyWith({
  int? x,
  int? y,
  int? xEnd,
  int? yEnd,
  int? thickness,
}) {
  return KoiLabelDiagonalElement(
    x: x ?? this.x,
    y: y ?? this.y,
    xEnd: xEnd ?? this.xEnd,
    yEnd: yEnd ?? this.yEnd,
    thickness: thickness ?? this.thickness,
  );
}