copyWith method

Window copyWith({
  1. String? title,
  2. bool? isActive,
  3. int? hWnd,
  4. String? exePath,
})

Implementation

Window copyWith({String? title, bool? isActive, int? hWnd, String? exePath}) {
  return Window(
    title: title ?? this.title,
    isActive: isActive ?? this.isActive,
    hWnd: hWnd ?? this.hWnd,
    exePath: exePath ?? this.exePath,
  );
}