copyWith method

AndroidSurfaceReplacement copyWith({
  1. LogicalSize? logicalSize,
  2. NativePointer? window,
  3. NativePointer? jniEnv,
  4. NativePointer? surface,
})

A copy of this value with the given members replaced.

Implementation

AndroidSurfaceReplacement copyWith({
  LogicalSize? logicalSize,
  NativePointer? window,
  NativePointer? jniEnv,
  NativePointer? surface,
}) => AndroidSurfaceReplacement(
  logicalSize: logicalSize ?? this.logicalSize,
  window: window ?? this.window,
  jniEnv: jniEnv ?? this.jniEnv,
  surface: surface ?? this.surface,
);