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