copyWith method

MetalBorrowedTexture copyWith({
  1. NativePointer? texture,
})

A copy of this value with the given members replaced.

Implementation

MetalBorrowedTexture copyWith({NativePointer? texture}) =>
    MetalBorrowedTexture(texture: texture ?? this.texture);