copyWith method
- LogicalSize? logicalSize,
- int? physicalWidth,
- int? physicalHeight,
- List<
VulkanBorrowedTexture> ? textures,
A copy of this value with the given members replaced.
Implementation
VulkanBorrowedTextureReplacement copyWith({
LogicalSize? logicalSize,
int? physicalWidth,
int? physicalHeight,
List<VulkanBorrowedTexture>? textures,
}) => VulkanBorrowedTextureReplacement(
logicalSize: logicalSize ?? this.logicalSize,
physicalWidth: physicalWidth ?? this.physicalWidth,
physicalHeight: physicalHeight ?? this.physicalHeight,
textures: textures ?? this.textures,
);