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