copyWith method
DeviceConfigContext
copyWith({
- String? id,
- String? label,
- InternetAddress? targetIp,
- String? username,
- bool? remoteHasSshConnection,
- String? appExecuterPath,
- FlutterEmbedder? embedder,
Implementation
DeviceConfigContext copyWith({
String? id,
String? label,
InternetAddress? targetIp,
String? username,
bool? remoteHasSshConnection,
String? appExecuterPath,
FlutterEmbedder? embedder,
}) {
return DeviceConfigContext(
id: id ?? this.id,
label: label ?? this.label,
targetIp: targetIp ?? this.targetIp,
username: username ?? this.username,
remoteHasSshConnection:
remoteHasSshConnection ?? this.remoteHasSshConnection,
appExecuterPath: appExecuterPath ?? this.appExecuterPath,
embedder: embedder ?? this.embedder,
);
}