copyWith method

KoiLabelImageElement copyWith({
  1. int? x,
  2. int? y,
  3. Uint8List? imageBytes,
  4. int? width,
})

Implementation

KoiLabelImageElement copyWith({
  int? x,
  int? y,
  Uint8List? imageBytes,
  int? width,
}) {
  return KoiLabelImageElement(
    x: x ?? this.x,
    y: y ?? this.y,
    imageBytes: imageBytes ?? this.imageBytes,
    width: width ?? this.width,
  );
}