copyWith method

VulkanSurfaceReplacement copyWith({
  1. LogicalSize? logicalSize,
  2. int? surface,
})

A copy of this value with the given members replaced.

Implementation

VulkanSurfaceReplacement copyWith({LogicalSize? logicalSize, int? surface}) =>
    VulkanSurfaceReplacement(
      logicalSize: logicalSize ?? this.logicalSize,
      surface: surface ?? this.surface,
    );