copyWith method
- ValueOrAbsent<
AppleAudioCategory?> category = const ValueOrAbsent.absent(), - ValueOrAbsent<
Set< categoryOptions = const ValueOrAbsent.absent(),AppleAudioCategoryOption> ?> - ValueOrAbsent<
AppleAudioMode?> mode = const ValueOrAbsent.absent(),
Implementation
AppleAudioSessionConfiguration copyWith({
ValueOrAbsent<AppleAudioCategory?> category = const ValueOrAbsent.absent(),
ValueOrAbsent<Set<AppleAudioCategoryOption>?> categoryOptions = const ValueOrAbsent.absent(),
ValueOrAbsent<AppleAudioMode?> mode = const ValueOrAbsent.absent(),
}) =>
AppleAudioSessionConfiguration(
category: category.valueOr(this.category),
categoryOptions: categoryOptions.valueOr(this.categoryOptions),
mode: mode.valueOr(this.mode),
);