copyWith method

WaylandSurfaceDescriptor copyWith({
  1. LogicalSize? logicalSize,
  2. NativePointer? display,
  3. NativePointer? surface,
})

A copy of this value with the given members replaced.

Implementation

WaylandSurfaceDescriptor copyWith({
  LogicalSize? logicalSize,
  NativePointer? display,
  NativePointer? surface,
}) => WaylandSurfaceDescriptor(
  logicalSize: logicalSize ?? this.logicalSize,
  display: display ?? this.display,
  surface: surface ?? this.surface,
);