copyWith method

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

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