copyWith method
Implementation
AudioOutputDevice copyWith({
String? id,
String? name,
AudioOutputType? type,
bool? isSelected,
}) {
return AudioOutputDevice(
id: id ?? this.id,
name: name ?? this.name,
type: type ?? this.type,
isSelected: isSelected ?? this.isSelected,
);
}