copyWith method
Create a copy of AudioDevice
Implementation
AudioDevice copyWith({
String? id,
AudioSourceType? type,
}) {
return AudioDevice(
id: id ?? this.id,
type: type ?? this.type,
);
}
Create a copy of AudioDevice
AudioDevice copyWith({
String? id,
AudioSourceType? type,
}) {
return AudioDevice(
id: id ?? this.id,
type: type ?? this.type,
);
}