copyWithWrapped method
Implementation
GetVoicesV2ResponseModel copyWithWrapped(
{Wrapped<List<VoiceResponseModel>>? voices,
Wrapped<bool>? hasMore,
Wrapped<int>? totalCount,
Wrapped<dynamic>? nextPageToken}) {
return GetVoicesV2ResponseModel(
voices: (voices != null ? voices.value : this.voices),
hasMore: (hasMore != null ? hasMore.value : this.hasMore),
totalCount: (totalCount != null ? totalCount.value : this.totalCount),
nextPageToken:
(nextPageToken != null ? nextPageToken.value : this.nextPageToken));
}