copyWith method

DeviceConfigContext copyWith({
  1. String? id,
  2. String? label,
  3. InternetAddress? targetIp,
  4. String? username,
  5. bool? remoteHasSshConnection,
  6. String? appExecuterPath,
  7. 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,
  );
}