copyWith method
Implementation
ActiveWindowInfo copyWith({
String? title,
String? appName,
String? path,
String? bundleId,
String? rawResult,
String? userName,
String? hostName,
String? deviceId,
}) {
return ActiveWindowInfo(
title: title ?? this.title,
appName: appName ?? this.appName,
path: path ?? this.path,
bundleId: bundleId ?? this.bundleId,
rawResult: rawResult ?? this.rawResult,
userName: userName ?? this.userName,
hostName: hostName ?? this.hostName,
deviceId: deviceId ?? this.deviceId,
);
}