copyWith method
- LogicalSize? logicalSize,
- int? physicalWidth,
- int? physicalHeight,
- OpenGlContextDescriptor? context,
- List<
OpenGlBorrowedTexture> ? textures, - 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,
);