copyWith method

AudioNativeProjectSettingsResponseModel copyWith({
  1. String? title,
  2. String? image,
  3. String? author,
  4. bool? small,
  5. String? textColor,
  6. String? backgroundColor,
  7. int? sessionization,
  8. dynamic audioPath,
  9. dynamic audioUrl,
  10. AudioNativeProjectSettingsResponseModelStatus? status,
})

Implementation

AudioNativeProjectSettingsResponseModel copyWith(
    {String? title,
    String? image,
    String? author,
    bool? small,
    String? textColor,
    String? backgroundColor,
    int? sessionization,
    dynamic audioPath,
    dynamic audioUrl,
    enums.AudioNativeProjectSettingsResponseModelStatus? status}) {
  return AudioNativeProjectSettingsResponseModel(
      title: title ?? this.title,
      image: image ?? this.image,
      author: author ?? this.author,
      small: small ?? this.small,
      textColor: textColor ?? this.textColor,
      backgroundColor: backgroundColor ?? this.backgroundColor,
      sessionization: sessionization ?? this.sessionization,
      audioPath: audioPath ?? this.audioPath,
      audioUrl: audioUrl ?? this.audioUrl,
      status: status ?? this.status);
}