copyWithWrapped method

GetLibraryVoicesResponseModel copyWithWrapped({
  1. Wrapped<List<LibraryVoiceResponseModel>>? voices,
  2. Wrapped<bool>? hasMore,
  3. Wrapped? lastSortId,
})

Implementation

GetLibraryVoicesResponseModel copyWithWrapped(
    {Wrapped<List<LibraryVoiceResponseModel>>? voices,
    Wrapped<bool>? hasMore,
    Wrapped<dynamic>? lastSortId}) {
  return GetLibraryVoicesResponseModel(
      voices: (voices != null ? voices.value : this.voices),
      hasMore: (hasMore != null ? hasMore.value : this.hasMore),
      lastSortId: (lastSortId != null ? lastSortId.value : this.lastSortId));
}