copyWith method

OpenGlBorrowedTextureReplacement copyWith({
  1. LogicalSize? logicalSize,
  2. int? physicalWidth,
  3. int? physicalHeight,
  4. List<OpenGlBorrowedTexture>? textures,
})

A copy of this value with the given members replaced.

Implementation

OpenGlBorrowedTextureReplacement copyWith({
  LogicalSize? logicalSize,
  int? physicalWidth,
  int? physicalHeight,
  List<OpenGlBorrowedTexture>? textures,
}) => OpenGlBorrowedTextureReplacement(
  logicalSize: logicalSize ?? this.logicalSize,
  physicalWidth: physicalWidth ?? this.physicalWidth,
  physicalHeight: physicalHeight ?? this.physicalHeight,
  textures: textures ?? this.textures,
);