copyWith method
Creates a copy of the current ProjectConfig
instance with optional changes.
Implementation
ProjectConfig copyWith({
String? deviceId,
String? userIdentifier,
String? username,
String? password,
}) {
return ProjectConfig(
deviceId: deviceId ?? this.deviceId,
userIdentifier: userIdentifier ?? this.userIdentifier,
username: username ?? this.username,
password: password ?? this.password,
);
}