copyWith method
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,
);
}