copyWith method

BodyAddVoiceV1VoicesAddPost copyWith({
  1. String? name,
  2. List<String>? files,
  3. bool? removeBackgroundNoise,
  4. dynamic description,
  5. dynamic labels,
})

Implementation

BodyAddVoiceV1VoicesAddPost copyWith(
    {String? name,
    List<String>? files,
    bool? removeBackgroundNoise,
    dynamic description,
    dynamic labels}) {
  return BodyAddVoiceV1VoicesAddPost(
      name: name ?? this.name,
      files: files ?? this.files,
      removeBackgroundNoise:
          removeBackgroundNoise ?? this.removeBackgroundNoise,
      description: description ?? this.description,
      labels: labels ?? this.labels);
}