copyWith method

OpenGlBorrowedTextureDescriptor copyWith({
  1. LogicalSize? logicalSize,
  2. int? physicalWidth,
  3. int? physicalHeight,
  4. OpenGlContextDescriptor? context,
  5. List<OpenGlBorrowedTexture>? textures,
  6. int? target,
})

A copy of this value with the given members replaced.

Implementation

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