copyWithWrapped method
AudioNativeProjectSettingsResponseModel
copyWithWrapped(
{ - Wrapped<String>? title,
- Wrapped<String>? image,
- Wrapped<String>? author,
- Wrapped<bool>? small,
- Wrapped<String>? textColor,
- Wrapped<String>? backgroundColor,
- Wrapped<int>? sessionization,
- Wrapped? audioPath,
- Wrapped? audioUrl,
- Wrapped<AudioNativeProjectSettingsResponseModelStatus?>? status,
})
Implementation
AudioNativeProjectSettingsResponseModel copyWithWrapped(
{Wrapped<String>? title,
Wrapped<String>? image,
Wrapped<String>? author,
Wrapped<bool>? small,
Wrapped<String>? textColor,
Wrapped<String>? backgroundColor,
Wrapped<int>? sessionization,
Wrapped<dynamic>? audioPath,
Wrapped<dynamic>? audioUrl,
Wrapped<enums.AudioNativeProjectSettingsResponseModelStatus?>? status}) {
return AudioNativeProjectSettingsResponseModel(
title: (title != null ? title.value : this.title),
image: (image != null ? image.value : this.image),
author: (author != null ? author.value : this.author),
small: (small != null ? small.value : this.small),
textColor: (textColor != null ? textColor.value : this.textColor),
backgroundColor: (backgroundColor != null
? backgroundColor.value
: this.backgroundColor),
sessionization: (sessionization != null
? sessionization.value
: this.sessionization),
audioPath: (audioPath != null ? audioPath.value : this.audioPath),
audioUrl: (audioUrl != null ? audioUrl.value : this.audioUrl),
status: (status != null ? status.value : this.status));
}