copyWithWrapped method

AudioNativeProjectSettingsResponseModel copyWithWrapped({
  1. Wrapped<String>? title,
  2. Wrapped<String>? image,
  3. Wrapped<String>? author,
  4. Wrapped<bool>? small,
  5. Wrapped<String>? textColor,
  6. Wrapped<String>? backgroundColor,
  7. Wrapped<int>? sessionization,
  8. Wrapped? audioPath,
  9. Wrapped? audioUrl,
  10. 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));
}