copyWith method

AudioOutputDevice copyWith({
  1. String? id,
  2. String? name,
  3. AudioOutputType? type,
  4. bool? isSelected,
})

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,
  );
}