copyWithWrapped method

AddVoiceIVCResponseModel copyWithWrapped({
  1. Wrapped<String>? voiceId,
  2. Wrapped<bool>? requiresVerification,
})

Implementation

AddVoiceIVCResponseModel copyWithWrapped(
    {Wrapped<String>? voiceId, Wrapped<bool>? requiresVerification}) {
  return AddVoiceIVCResponseModel(
      voiceId: (voiceId != null ? voiceId.value : this.voiceId),
      requiresVerification: (requiresVerification != null
          ? requiresVerification.value
          : this.requiresVerification));
}