copyWith method

KoiLabelLineElement copyWith({
  1. int? x,
  2. int? y,
  3. int? width,
  4. int? height,
})

Implementation

KoiLabelLineElement copyWith({int? x, int? y, int? width, int? height}) {
  return KoiLabelLineElement(
    x: x ?? this.x,
    y: y ?? this.y,
    width: width ?? this.width,
    height: height ?? this.height,
  );
}