copyWith method

ActiveWindowInfo copyWith({
  1. String? title,
  2. String? appName,
  3. String? path,
  4. String? bundleId,
  5. String? rawResult,
  6. String? userName,
  7. String? hostName,
  8. String? deviceId,
})

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