copy method
AudioContextAndroid
copy({
- bool? isSpeakerphoneOn,
- bool? stayAwake,
- AndroidContentType? contentType,
- AndroidUsageType? usageType,
- AndroidAudioFocus? audioFocus,
Implementation
AudioContextAndroid copy({
bool? isSpeakerphoneOn,
bool? stayAwake,
AndroidContentType? contentType,
AndroidUsageType? usageType,
AndroidAudioFocus? audioFocus,
}) {
return AudioContextAndroid(
isSpeakerphoneOn: isSpeakerphoneOn ?? this.isSpeakerphoneOn,
stayAwake: stayAwake ?? this.stayAwake,
contentType: contentType ?? this.contentType,
usageType: usageType ?? this.usageType,
audioFocus: audioFocus ?? this.audioFocus,
);
}