copyWith method
Returns a copy of this AudioPcm with the given fields replaced.
Pass null for rate to clear the existing value.
Implementation
AudioPcm copyWith({Object? rate = unsetCopyWithValue}) => AudioPcm(
rate: identical(rate, unsetCopyWithValue) ? this.rate : rate as int?,
);