copyWith method

VulkanBorrowedTexture copyWith({
  1. int? image,
  2. int? imageView,
})

A copy of this value with the given members replaced.

Implementation

VulkanBorrowedTexture copyWith({int? image, int? imageView}) =>
    VulkanBorrowedTexture(
      image: image ?? this.image,
      imageView: imageView ?? this.imageView,
    );